Skip to content

An example of an api using express, typescript, postgress, docker and docker-compose technologies.

Notifications You must be signed in to change notification settings

volcanoxp/api-express-school

Repository files navigation

STEPS TO DEPLOY THIS API

  1. 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
  1. Execute the docker compose
api-express-school> docker-compose up -d
  1. 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
  1. Start testing the APIs
api-express-school> curl http://localhost:3001/test

Documentation of API

https://app.swaggerhub.com/apis/volcanoxp/api-school/1.0.0

About

An example of an api using express, typescript, postgress, docker and docker-compose technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published