This project was bootstrapped with Create React App.
The following steps would help setup the app for development locally.
- Make sure you have Node.js installed.
- Install and run Dgraph on the default port(8080) so that the frontend can communicate with it.
- We use npm for dependency management. Run
npm install
from within the dashboard folder to install the deps. - Run
npm start
which would open up the UI athttp://localhost:3000
.The UI gets refreshed automatically after a change in any files inside the src folder.
You can run npm run build
to generate the bundled files for production and push
them with your development changes. These files are served by Dgraph on the
default port at http://localhost:8080
.