/Node-GraphQL-starter

NodeJS GraphQL Api boilerplate

Primary LanguageJavaScriptMIT LicenseMIT

Node GraphQL Express API

This repository is a boilerplate to build ES6 NodeJS GraphQL api using Express and DataLoader. If you want to see this starter kit used in a full stack app

Getting started

Install MongoDB

brew install mongodb

Install dependencies

yarn

Run MongoDB daemon

brew services start mongodb

Start

yarn start

Signup :

curl -X POST http://localhost:8000/signup -d username=user -d password=user

Signin :

curl -X POST http://localhost:8000/signin -d username=user -d password=user

You can now check out GraphiQL explorer to try your API !