You'll need to fill out .env
with your own tokens from Facebook and Google Maps.
To get a Google Maps API key, read their docs: https://developers.google.com/maps/documentation/javascript/get-api-key
Your key will need access to the Places/Maps
and Geocoding
APIs.
- Ensure you have
yarn
on your system $ yarn install
$ yarn dev
Note: You'll need to have the API running as well. See the API readme for instructions.
$ yarn lint
$ yarn test
With the application already running in another tab:
$ yarn cy:open
or $ yarn cy:run
- Ensure you have a static site serving tool like
serve
installed globally $ yarn export
$ serve out
We use Prettier to format our code. We recommend installing a Prettier extension in your IDE of choice and enabling format-on-save. Failing that, you can run yarn prettier-fix
to format your code to a standard style before committing.