The web project needs a local REST API backend server for testing
You can easily setup the backend locally with docker. Make sure you have setup docker and docker compose.
-
Clone the REST API project
git clone https://github.com/arbchain/devops
-
Run the docker componse from the
ansible-rest-api
directorycd devops/ansible-rest-api docker-compose up -d
-
Make sure that the REST API end point is running at port
8000
by checking the docker processesdocker ps
-
Make sure your NodeJS and npm versions are up to date for
React 16.8.6
-
Install dependencies:
npm install
oryarn
-
Start the server:
npm run start
oryarn start
-
Views are on:
localhost:3000
The project is bootstrapped with the help of react-material-dashboard