Simple Demo Application
API built with Node + Express + GraphQL + Sequelize (supports MySQL, Postgres, Sqlite and MSSQL).
WebApp built with React + Redux.
Writtten in ES6 using Babel + Webpack.
- List thoughts
- Add thought
- Delete thought
- Clone repo
git clone git@github.com:atulmy/fullstack-graphql.git fullstack-graphql
- Install NPM modules API
cd api
andnpm install
- Install NPM modules Webapp
cd webapp
andnpm install
- Modify
/api/src/config/database.json
for database credentials - Modify
/api/src/config/config.json
for API port (optional) - Modify
/webapp/.env
for webapp port (optional) - Run API
cd api
andnpm start
, browse GraphiQL at http://localhost:3000/ - Run Webapp
cd webapp
andnpm start
, browse webapp at http://localhost:8000/
[nodemon] starting `babel-node src/index.js --presets es2015,stage-2`
SETUP - Connecting database...
SETUP - Loading modules...
SETUP - GraphQL...
SETUP - Syncing database tables...
INFO - Database connected.
INFO - Database sync complete.
SETUP - Starting server...
INFO - Server started on port 3000.
Atul Yadav - GitHub โข Twitter
Copyright (c) 2017 Atul Yadav http://github.com/atulmy
The MIT License (http://www.opensource.org/licenses/mit-license.php)