formatting + adding issues
This commit is contained in:
parent
648c5d2979
commit
98c59f33c5
2 changed files with 10 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ Live at [lilastudy.com](https://lilastudy.com).
|
|||
|
||||
## Repository Structure
|
||||
|
||||
```
|
||||
```tree
|
||||
lila/
|
||||
├── apps/
|
||||
│ ├── api/ — Express backend
|
||||
|
|
@ -50,7 +50,7 @@ lila/
|
|||
|
||||
Requests flow through a strict layered architecture:
|
||||
|
||||
```
|
||||
```text
|
||||
HTTP Request → Router → Controller → Service → Model → Database
|
||||
```
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ Vocabulary data is sourced from WordNet and the Open Multilingual Wordnet (OMW).
|
|||
|
||||
## API
|
||||
|
||||
```
|
||||
```text
|
||||
POST /api/v1/game/start — start a quiz session (auth required)
|
||||
POST /api/v1/game/answer — submit an answer (auth required)
|
||||
GET /api/v1/health — health check (public)
|
||||
|
|
@ -90,7 +90,7 @@ Rooms are created via REST, then managed over WebSockets. Messages are typed via
|
|||
|
||||
## Infrastructure
|
||||
|
||||
```
|
||||
```tree
|
||||
Internet → Caddy (HTTPS)
|
||||
├── lilastudy.com → web (nginx, static files)
|
||||
├── api.lilastudy.com → api (Express)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue