built with React, Bootstrap, React Router, Redux and GraphQL based on Create React App and latest industry best practices.
This seed project is a sort of a free version of a template that may be found on Themeforest or Wrapbootstrap with working backend integration. You may use it to bootstrap the development of your next web app.
You can start by cloning the latest version of React Dashboard on your local machine by running:
$ git clone -o react-dashboard -b master --single-branch \
https://github.com/flatlogic/react-dashboard.git MyApp
$ cd MyApp
yarn install
This will install both run-time project dependencies and developer tools listed in package.json file.
yarn dev
This command will start the app with simultaneously with express server, set up your database, start local server XAMPP, opensever, or other tool to start database, connect to it in file
src > data > sequelize.js.
Also go to
src > data > schema.js
and enable mutation. This preparation will enable to realize CRUD operations locally
Create db. For instance name it “sequelize” and add posts table to it, your table should have same structure as you can see on the screenshot
http://localhost:3000/ — Node.js server
http://localhost:3000/graphql — GraphQL server and IDE
Now you can open your web app in a browser, on mobile devices and start hacking. Whenever you modify any of the source files inside the /src
folder, the module bundler (Webpack) will recompile the app on the fly and refresh all the connected browsers.
For more info please refer to getting started guide to download and run the project (Node.js >= 6.5)
Author: flatlogic
Live Demo: https://flatlogic.com/admin-dashboards/react-dashboard/demo
GitHub: https://github.com/flatlogic/react-dashboard
#reactjs #javascript