THAT`S A WIP Project
Developed for the curso.dev of Filipe Deschamps
I have installed Node in version 18.20.4 and NPM in version 10.7.0.
This project uses a Docker image of postgres:16.0-alpine3.18 and automates unit tests with Jest
Should you have installed nvm you should run the command below:
nvm install
Or manually install Node in the correct version(18.20.4)
After that. You should install your repository dependencies with the following:
npm install
When done, you should run the database and the server with the following commands:
npm run dev
This command ups a docker-compose container with the database and runs the migrations to build the struct of DB and finally the server.
For down the server press ctrl + c and run the command:
npm run compose:down
This command kills the container generated by the compose file
If you wanna run the automated tests after all you can use the command:
npm test