- Copy the file
.env.example
with the name .env and configure according to your needs or use the default configuration.
api-express-school> cp .env.example .env
- Execute the docker compose
api-express-school> docker-compose up -d
- Run the initial configuration for the database
api-express-school> docker exec -i api-express-school_db_1 psql -U postgres -d school < database/tables.sql
- Start testing the APIs
api-express-school> curl http://localhost:3001/test