Skip to content

guilhermearaujoo/backend-team-manager

Repository files navigation

Soccer Teams Manager

Backend App to manage soccer teams.

Routes

GET - Show all teams

  http://localhost:3001/clubes

POST - create a team

  http://localhost:3001/clubes

POST - consume resources

 http://localhost:3001/consumir


How to use?

Change file name .env-example to .env

Start docker containers

docker-compose up -d

Use docker terminal cbc_api:

docker exec -it cbc_api bash

Install dependencies

npm install

Start the app, this will create a populated database

npm run dev

tip

In case of port conflict, run:

killall node # Parar qualquer aplicação node que esteja sendo executados na máquina!
docker stop $(docker ps -qa) # Para containers que estão sendo executados!

About

Backend App to Manage Soccer Teams

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published