Skip to content

User Login with Dashboard. React App, using GraphQL, Apollo and MongoDB.

Notifications You must be signed in to change notification settings

andrewbaisden/graphql-user-dashboard

Repository files navigation

GraphQL User Dashboard App

Prerequisite

You need to setup a MongoDB Database otherwise this App wont work and you will get a crash error in your Terminal window. Either create a local database or create/use an account on MondoDB Atlas or mlab

Then add the database mongoLab URI to server/server.js. Make sure that you create a user and a password for the login.

Example code in server.js file below:

// Replace with your mongoLab URI
const MONGO_URI = 'mongodb://<dbuser>:<dbpassword>@ds11111.mlab.com:11111/databasename';

mlab connect string

Install and Setup

Run the command below in the root and client folder to install node

npm install

Run the command below in the root folder, to start the app

npm run dev

The App is running at http://localhost:4000/#/

About

User Login with Dashboard. React App, using GraphQL, Apollo and MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published