34 lines
2.0 KiB
Markdown
34 lines
2.0 KiB
Markdown
# Next Steps
|
|
|
|
## Current Status
|
|
Typing and multiple-choice quizzes work in the API and the web app. Both were checked against `vocabulary-test`.
|
|
|
|
## In Progress
|
|
|
|
## Up Next (priority order)
|
|
1. [ ] Build and run the Docker images (Docker was not available on the development machine)
|
|
2. [ ] Back up the `vocabulary` database before the first start of the new API: Hibernate adds `quiz.quiz_type` and `qapair.choice_options`
|
|
3. [ ] Real authentication: hash passwords (BCrypt), issue JWT (the library is already in the pom) and protect the write endpoints. Today every request is allowed and the admin check is only in the browser
|
|
4. [ ] Question count selection for a new quiz (an ALL quiz contains every word)
|
|
5. [ ] Return quiz lists without `qaPair`; the list page downloads every question of every quiz
|
|
6. [ ] Update dependencies: `npm audit` reports vulnerabilities, including in Next.js 15.5.0; `mysql-connector-java` moved to `com.mysql:mysql-connector-j`
|
|
|
|
## Recommendations
|
|
- Make quiz names unique per user instead of globally.
|
|
- Wrong options can be near-synonyms of the correct answer (for example azaltmak / eksiltmek). Use the synonym field to exclude them.
|
|
- Accept several Turkish translations for typing quizzes.
|
|
- Add a "repeat my wrong answers" quiz.
|
|
- Return 404 instead of 500 for unknown ids.
|
|
- antd 5 logs a React 19 warning; fix it with `@ant-design/v5-patch-for-react-19` or antd 6.
|
|
- Remove user data files from `api/src/main/resources`; they are packaged into the jar.
|
|
|
|
## Known Issues
|
|
- `application.properties` points to `vocabulary-test`. Docker uses the database in `.env`.
|
|
|
|
## Notes for Next Session
|
|
- API tests without a database: `mvn test -Dtest='*ServiceTest'`. The full `mvn test` connects to the configured database.
|
|
- The `Initialize*` test classes insert data into the configured database.
|
|
- `InitializeWordsFromJson` can be run again: it adds only missing words and does not update existing ones.
|
|
- `InitializeUsersFromJson` still needs an empty `app_user` table.
|
|
- `poi-ooxml` in `api/pom.xml` is unused since the Excel import was removed.
|