
nuxtimg, categories composabled, tailwind config in js, remove comments, next question operation, media fit
63 lines
2 KiB
Markdown
63 lines
2 KiB
Markdown
# nuxt-prawo-jazdy
|
|
|
|
## Setup
|
|
|
|
This project utilizes `pnpm`, thus it is recommended
|
|
|
|
```bash
|
|
pnpm install
|
|
```
|
|
|
|
## Required
|
|
|
|
The [db-prawo-jazdy](https://git.mandarynki.eu/netman/db-prawo-jazdy) project is designed for this one in mind, so use it in conjunction with this - visit it for more details
|
|
|
|
You also need the exam media files from the (Ministry of Infrasture)[https://www.gov.pl/web/infrastruktura/prawo-jazdy]. The newest at the moment of me writing this (19th of April 2025) are the (visualisations for questions from the 18th of January of 2024)[https://www.gov.pl/pliki/mi/wizualizacje_do_pytan_18_01_2024.zip]
|
|
|
|
# To-do:
|
|
|
|
- [x] re-forge database structure (good for now)
|
|
- [x] choose category (good for now)
|
|
- [x] come up with how to show results appropriately
|
|
- [x] db: script for processing, share appropriate files
|
|
- [x] better answer click recognition
|
|
- [x] beautify website (good for now)
|
|
- [ ] <b>fix pinia middleware between pages, MAJOR ISSUE - finishing exam sometimes redirects to homepage instead of results, help appreciated</b>
|
|
- [ ] exam (& results?) warning leave message on exit and timer end (and definitely on refresh)
|
|
- [ ] question timers
|
|
- [ ] lazy loading
|
|
- [ ] i18n - pl, en, de, ua (not all questions are not available in ua, api handle)
|
|
|
|
## Some info
|
|
|
|
My intention is, to share access to test exams free of charge - all data is free of charge and is already available as public information, either on the gov website, or by writing to the MI
|
|
|
|
This project is an SSR website mimicking an official driver's license exam (for different categories) with a seperate CDN for media, connected using an ORM to a postgres DB
|
|
|
|
## Development Server
|
|
|
|
Start the development server on `http://localhost:3000`:
|
|
|
|
```bash
|
|
pnpm run dev
|
|
```
|
|
|
|
## Production
|
|
|
|
Build the application for production:
|
|
|
|
```bash
|
|
pnpm build
|
|
```
|
|
|
|
Locally preview production build:
|
|
|
|
```bash
|
|
pnpm preview
|
|
```
|
|
|
|
Check out the [Nuxt documentation](https://nuxt.com/docs) for more information.
|
|
|
|
### Licensing
|
|
|
|
Distributed via [MIT License](./LICENSE)
|