This is the react repository that we will use to maintain the web frontend of the TPO project.
Make sure you have installed
- Fork this repo https://github.com/aissmstpo/TPO-Frontend-App to your github account.
- Clone that repository using
git clone https://github.com/yourid/path-to-repo.git
- Initilize your local git instance using
git init
- Add remote origine
git remote add origin https://github.com/yourid/path-to-repo.git
- To setup the environment open cmd/terminal and run:
npm install
You are ready to work now.
- Babel to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in old browsers or environments.
- Prettier It removes all original styling* and ensures that all outputted code conforms to a consistent style.
- Jsdoc this will help in Documentation.
- Also install the Prettier extension on you IDE.
npm start
compile the code, start server and show result in browser.npm build
compile the code and save it to "dist" folder.