You must have all the following applications installed:
First, install all the dependencies running the following command: yarn
Start the server and the application with: yarn start
There you go! A tab should be shown on http://localhost:3000 (if not, just click here)
- Go to Google maps API page and get an API Key
- Create a file called
.env
in the root of your project's directory. - Inside the
.env
file, adds your api key to the variable:REACT_APP_GOOGLE_API_KEY=your_api_key_here
- In order to read env variables, you should restart your server.
- The
.env
file is already in the.gitignore
file, if itβs appearing to add to commit it means your.env
file is not in root.
yarn test:unit
to run the e2e, api and visual regression tests you need to run first: "
yarn start
"
yarn test:e2e
yarn test:api
yarn test:visual
yarn test:visual-update
If you had any problem trying to run the application or the tests make sure that you have met the following requirements:
Node version: v12.8.0
Npm version: v6.13.1
Yarn version: v1.17.3
Here is a document with all my technical decisions: link
A list of technical debits I keep working on: link