- before running the application with npm or docker please ensure the instruction below is completed
Copy contents of ormconfig.example.json in a new file named ormconfig.json
and update the postgres database connection variables in the new created file ormconfig.json
- On the root directory Run
npm i
command - Run
npm start
command for production andnpm run dev
for development
- On the root directory run
docker-compose build
to build the docker image - After build, run
docker-compose up
to start the image