-
Notifications
You must be signed in to change notification settings - Fork 0
How to develop TruthTree frontend
Steven Than edited this page Jan 31, 2019
·
8 revisions
- Make sure you have node and npm installed. Tested with
node 8and above,npm 5or above is reccommended - Clone this repo
git clone https://github.com/TruthTreeASD/frontend.git - cd into the project and install dependencies
cd frontend && npm i - Run the project
npm start - Access in the browser using
localhost:3000
- There are pre-commit hooks in place that make sure your code is format correctly
- Commit frequently for small changes with meaningful messages
- Run
npm run testbefore creating pull request - Pull from master if there are new pull requests that get merged
- Addition of third-party libraries is encouraged, we don't need to reinvent the wheel; however, do consult with team because there might be other libraries with similar functionalities installed
- Be mindful of responsive design, as we're catering to both mobile and desktop users, your frontend components should be functional on both