The Frontend of the BSC Arbitrage Tracker
A list of folders and what to expect
- client - contains all frontend code
- server - contains all backend code
- src - The main folder
- src > App.js - Entry point of the app
- src > App.css - All app styles
- src > assets - All images
- src > components - All child components used in parent components
- src > config - All custom functions, table columns, etc.
- src > pages - All app pages
- src > redux - All store slices for global state management
- src > .env - All environment urls for accessing the backend api.
- index - The main api file
- .env - Database variables
- Clone/Download Project file
- Unzip project file (If clone then skip this step)
- Open terminal window and split the terminal window
- On the left terminal, run the following command to install client dependencies:
NOTE: If you don't have yarn installed, please use npm
- cd client
- yarn install
- yarn start
- On the right terminal, run the following command to install server dependencies:
- cd server
- yarn install
- yarn run server
- At this point your frontend and backend should be running. Let's setup the database.
- Launch your XAMPP software and start the Apache and MySQL services.
- Go to phpmyadmin on your browser and import the database.sql file located inside the server folder.