Skip to content

jabbar-hafizh/GraphQL-Apollo-Server-with-Node.js-MongoDB---GraphQL-API

Repository files navigation

GraphQL-Apollo-Server-with-Node.js-MongoDB---GraphQL-API

This is backend starter for Graphql and Rest API

Technology

API URL on local

  1. Graphql API --> http://localhost:8000/graphql
  2. Rest API --> http://localhost:8000

API URL on public

  1. GraphQL API --> https://gql-tokped.herokuapp.com/graphql
  2. Rest API --> https://gql-tokped.herokuapp.com

Installation

npm install
npm start

Statr Dev

npm run dev

Statr prod

npm run start

Database

Mongodb database and odm mongoose

Requirements

nodejs 8+

npm 6+

mongodb 3+