/Apollo-Server-Boilerplate

A boilerplate for apollo server setup in NodeJS & GraphQL.

Primary LanguageJavaScript

Apollo Server Boilerplate

Visits Badge

NodeJS apollo server boilerplate, the initial setup for a server:

Setup

Edit:

Edit Seeds according to your needs.
And Setup Mongo Database by replacing the URL.
Database/db.js

Pull the repository and run

npm install

Run Server Command

npm start

Access GraphQL Playground at:

http://localhost:4000/graphql

Features:

  • User Signup
  • User Login
  • User Roles
  • JWT Token / Authorization
  • Localization