Skip to content

An Apollo Server with support for both GraphQL and RESTful APIs

Notifications You must be signed in to change notification settings

Kaakati/apollo-server-graphql-restful

Repository files navigation

Apollo Server Boilerplate

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

[Routes/v1] folder for RESTful, [Resolvers] folder for GraphQL Methods.

Pull the repository and run

npm install

Run Server Command

npm start

Access GraphQL Playground at:

http://localhost:4000/graphql
http://localhost:4000/api/v1

Features:

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

About

An Apollo Server with support for both GraphQL and RESTful APIs

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published