This is the template/boilerpalte code for nodejs, graphql, mongodb, typescript.

How to run?

Step 1 -> Clone the repo

git clone https://github.com/krishnan-tech/ts-graphql-node-mongodb-boilerplate.git

Step 2 -> Go to repo directory

cd ts-graphql-node-mongodb-boilerplate

Step 3 -> install all dependencies

npm install  -> If you are using npm
or
yarn         -> If you are using yarn

Step 4 -> watch dev server (open cmd/terminal and paste it)

npm run watch
or
yarn watch

Step 5 -> run dev server (open cmd/terminal and paste it)

npm run dev
or
yarn dev

And there you go, the server is active!! 😄

Any doubts?

Ping me at krishnannavadia@gmail.com

If you like it, give it a star ⭐️

Feel free to contribute if you find bugs or if you want improvements ❤️