Crossword
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
This directory contains the server-side code for the French Learning App.
index.ts
- Main entry point for the applicationdatabase/
- Database schema and queriesroutes/
- API and static file routes
GET /api/categories
- Get all vocabulary categoriesGET /api/vocabulary
- Get all vocabulary itemsGET /api/vocabulary/category/:id
- Get vocabulary by categoryGET /api/quiz
- Get random vocabulary for quiz (params: count, category)POST /api/progress
- Update learning progress
GET /
- Serves the main applicationGET /frontend/*
- Serves frontend assetsGET /shared/*
- Serves shared utilities