-
A api deve validar os dados recebidos.
-
Deve ter os end-points
- create
- delete
- update
- listAll
- findOne
-
deve ter uma documentação
-
You need to fill the .env file
-
Run in your shell
npm i
-
Generate bundle folder
npm run build
-
Create api's image from Dockerfile
docker build -t social-comics-api .
-
Now, run the container
docker run -p 5000:5000 social-comics-api
If a error occurs, try to place a same port in the .env, Dockerfile and docker run command