mtiger2k / react-redux-graphql-starter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:CSS 63.3%Language:JavaScript 36.3%Language:HTML 0.4%