Skip to content

Latest commit

 

History

History
executable file
·
57 lines (41 loc) · 1.39 KB

README.md

File metadata and controls

executable file
·
57 lines (41 loc) · 1.39 KB

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