Kanban-Backend

How to Run Locally

1. Node: v10.21.0 or above

2. npm

3. Install nestjs cli globally (`npm i -g @nestjs/cli`)

5. mongodb: v4.2 or above

Fill .env file

Install dependencies `npm i`

Start App by running `npm run start:dev`

How to deploy this app?

After creating virtual machine with ubuntu 16.04 or ubuntu 18.04, you need to install following things:

1. Node: v10.21.0 or above

2. npm

3. pm2 (npm package global install)

4. nestjs cli (npm package global install)

5. git

5. mongodb: v4.2 or above

6. nginx

Steps:

1. Clone the repo into folder

2. Put .env into project folder after cloning

3. Make build using npm run build

4. After making build, add the process into pm2 processes using the command given below

  • pm2 start npm --name "Kanban-Backend" -- run start:prod

5. Configure nginx for reverse proxy for the port on which project will be running (defined in .env).