This is a simple REST API developed using node and express with typescript
src
└───index.ts # Application entry point
└───routes # Application routes / endpoints
└───controllers # Express route controllers for all the endpoints of the
└───repositories # All the database interaction logic is here
└───db # DB related files like connection / seed data
└───handlers # Common logic
└───logs # application logs
└───middlewares # express middlewares
└───models # DB Models (Postgress)
└───validators # API Request object validations
COMAND:
git pull && docker-compose down && docker build . -t ms_template_ts:PROD_v1.3 && docker-compose up -d --remove-orphans
npm run dev