# Vocabulary Vocabulary storage and quiz app for english learners ## Requirements - React 19 - Java 21 - MySQL 8.4.3 ## Setup ```bash cd api && mvn spring-boot:run # database settings: src/main/resources/application.properties cd web && npm install && npm run dev ``` ## Docker ```bash cp .env.example .env # set the database and API address docker compose up -d --build ``` Production: - Web: http://localhost/vocab-quiz - API: http://localhost:8002/api-vocab Development: - Web: http://localhost:3000 ## Scripts | Command | Description | |---|---| | `api/`: `mvn test -Dtest='*ServiceTest'` | API tests, no database needed | | `web/`: `npm test` | Web helper tests | | `web/`: `npm run lint` | ESLint | | `web/`: `npm run build` | Static export to `web/out` | ## Documentation See the `docs/` folder.