/nest-api-starter

Nest API starter kit for people getting started with Nest.js

Primary LanguageTypeScript

nest-api-starter - a starter api built using nest.js

This tiny repo is a starter kit for people getting started with Nest.js.

Hope it gives you a practical walkthrough of some of the concepts of Nest.js.

Built using

How to setup

Project setup

  • git clone https://github.com/SouravInsights/nest-api-starter.git
  • cd nest-api-starter
  • yarn install
  • yarn dev

DB setup

  • MongoDB installation

  • Local setup

    • create data/db directory in any of your drive where mongodb will store all the data
      • cd F:\
      • md "\data\db"
    • run mongod --dbpath "F:/data/db" to start mongodb
  • Create your database

    • run use nest-api-db which will craete your database, if the database doesn’t exist already
  • MongoDB Compass installation

    • you can also install mongodb compass as the gui for mongodb
    • open mongodb compass, connect to your local mongodb server and create your database from the gui

Project structure

(to be added)