tharsh95 / nest-ms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Plena Backend

Step 1: Clone the Repository

git clone https://github.com/tharsh95/nest-ms.git

Step 2: Install Dependency

Using npm

npm install

Using yarn

yarn

Step 3: Add env

Add .env file to the root of the backend directory, 
Copy the key-value from .env.example and fill it

Step 4:Run the docker instance(Make sure docker is installed)

docker compose up dev-db -d

Step 5:Migrate the db

npx prisma migrate dev

To open the the prisma client to see db content

npx prisma studio

Step 6:Run the application

yarn start:dev

About


Languages

Language:TypeScript 95.0%Language:JavaScript 5.0%