Full-stack GraphQL application with React, redux, and Apollo 2, with full backend passport and mongo support
install mongodb
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
cd client
npm install
npm start
open http://localhost:3000, use admin/admin to login
- coreui-react: CoreUI Free React.js Admin Template
- redux-form
- redux-thunk
- redux-promise-middleware
- react-router v4
- apollo-client v2.3 with subscription
- graphql server
- apollo upload
- mongo, passport, jwt support
- full sign/signout flow
Any suggestion is welcome. Feel free to submit issues if you want.
MIT