Skip to content

princephpdev/parkinglotapp

Repository files navigation

This App is crafted with NestJS, Prisma, Mongodb, TypeScript, SwaggerUI

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Install Prisma

# install prisma locally
$ npm install prisma --save-dev

# generate schema ( Everytime when schema changes)
$ npx prisma generate

Connect MongoDB

  1. Go to MongoDB Atlas and create a new mongodb instance
  2. Copy .env.example as .env
  3. Paste mongodb url into .env file

Try using mongodb Atlas, OR if you want to add mongodb local, create a replica set otherwise app would not work

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

API DOCS (Swagger UI)

After running app in watch mode, Go to http://localhost:3000/docs

Stay in touch

License

MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages