Skip to content

Full-stack GraphQL application with React, redux-saga, and Apollo 2, with full backend passport and mongo support

License

Notifications You must be signed in to change notification settings

mtiger2k/react-redux-graphql-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-redux-graphql-starter

Full-stack GraphQL application with React, redux, and Apollo 2, with full backend passport and mongo support

Running the app

0. environment requirement

install mongodb

1. start server

cd server
npm install
cp .env.sample .env
configure MONGODB_URL in .env
npm start
create admin user: curl -H "Content-Type:application/json" -X POST --data '{"username": "admin", "password":"admin"}' http://localhost:4000/signup

2. start client

cd client
npm install
npm start
open http://localhost:3000, use admin/admin to login

Tutorial

Features

Support

Any suggestion is welcome. Feel free to submit issues if you want.

License

MIT