Node.JS + React + GraphQL Movie App
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.editorconfig editor config Sep 18, 2018
.gitignore test Sep 18, 2018
LICENSE Initial commit Sep 17, 2018
README.md readme Nov 7, 2018

README.md

Node.JS + React + GraphQL Movie App

:neckbeard: Live demo React client

😎 GraphiQL Interface

Installation

1- Node.JS Server

Clone this repo and go to server folder.

$ cd server
$ npm install

Enviroment variables

Create a file named ".env" in the root directory and fill its contents as follows.

MONGODB_CONNECTION_STRING = mongodb://<dbuser>:<dbpassword>@<dbhost>:<dbport>/<dbname>

Run the app

$ npm start // for locally

and go to localhost:5000/graphql

2- React Client

Clone this repo and go to client folder.

$ cd client
$ npm install

Run the app

$ npm start

and go to localhost:3000