The code of this repo is split in 2 folders:
- api/ manages the server. It contains a server which differentiate REST requests from HTTP file requests, and so return either files or REST responses accordingly.
- front/ contains static files that should be returned by the HTTP server mentioned earlier.
Both folders contain a README with more details.
- Node.js should be installed.
- The repo should have been cloned.
- Docker compose should be installed.
Run project on prod mode: docker-compose up --build
. It's change uri of mongo to connect with the mongo container.
Run project on dev mode: npm start dev
. It's change uri of mongo to connect localhost:27017.