Steps to Project creation:
Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
npm start
command
Steps to build this project:
- Run
npm run build
command dist
folder will be created with built files- Run this
dist
in a server
Steps to run in docker container:
- Run
docker build -t hostlme-node-backend .
to build image from docker file - Run
docker run -p 3000:3000 hostlme-node-backend
to run the docker container from the above image OR - Run
docker-compose -f docker-compose.yml up
to create and start container using docker compose