Skip to content

A boilerplate application for building web apps using node and express.js, postgresql, docker.

License

Notifications You must be signed in to change notification settings

miladr0/learning-platform-backend

Repository files navigation

Setup

Pre-requisites:

  • Docker
  • Yarn

Run yarn docker:buildDev in the root of the project. it will build containers and run backend app in dev mode using nodemon on port 3000.

Database setup + management

inside app container run these commands.

yarn migrate up will run the migrations.

yarn migrate down will roll back the migrations.

yarn migrate:create <migration-name> will create a new migration file in ./src/migrations.

To run the migrations inside of docker-compose. Which will run a bash instance inside the app container.

About

A boilerplate application for building web apps using node and express.js, postgresql, docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published