SunnyWalk is an inovative application that can advise the user on the best times to take a daily walk to maximise their intake of sunshine.
Features:
- Receive 3 walk recommendations based on time of day and exposure to sunshine; incorporating UV-Index guidelines
- Map a walk
- Receive a reminder for 1 to 3 walks
- Provide feedback on previous walks
- HTML + CSS + Javascript + Java at the core
- React as the main library for the front-end structure
- Material-UI for components
- Cypress for testing
- Prerequisites:
- GIT
- Node.js (for npm)
- A web browser
- Clone the repository on your PC
git clone https://github.com/CodeBendersTR/sunnywalk-frontend.git
- (Optional) Switch to a specific branch
git checkout FXXXX
- Install the dependencies witn NPM
npm install
- Run the application with NPM
npm start
- Test the application at http://localhost:3000
- Start the unit tests
npm test
- Install cypress dependencies
npm cypress install --save-dev
- Try to open cypress
node_modules/.bin/cypress open
- If cypress gives an "Failed to deserialize the V8 snapshot blob" error you may need to install cypress to the computer itself. to do this type
npx cypress install
- Now cypress should run, but if "npm start" stops working use the following
npm i react-scripts
- Now you should be able to open cypress with no problems and click on "Run 6 integration specs" and watch the tests run.
We are a team of four talented people taking part in the Tech Returners programme (March 2021, London).
|