Node.js - Graphql, MongoDB, Nestjs Boilerplate
Prerequisites
Getting Started
- Clone the repo and make it yours:
git clone https://github.com/shekhar-raval/nest-graphql graphql-api
cd graphql-api
rm -rf .git
- Install dependencies:
npm install
- Set environment variables:
cp .env.example .env
Running Locally
npm run dev
Running in Production
npm run start:prod
Lint
# lint code with ESLint
npm run lint
URL
https://localhost:8000/graphql