-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Jesper edited this page Apr 27, 2023
·
7 revisions
You will need some basic understanding on docker and docker-compose.
Main application logic and database related dependencies you should look into before jumping into the project:
- socket.io for WebSocket communication
- express for REST API
- knex for DB selections and mutations
- pg for Postgres DB
You can find:
- DB related requests and mutations inside the
src/models
folder.
For example, define the starting budget or popularity in
src/models/game.js
like we did with this pull request
- Socket communication handling in
src/socketio.js
. - REST API endpoint handling in
src/app.js
. - DB migrations and seeds inside the
data
folder.