This is a front-end application as part of project that was built during the event Next Level Week 3 by Rocketseat. This project was bootstrapped with Create React App.
Clone repo, in the project directory, you can run:
git clone git@github.com:cesardoliveira/happy-app.git
cd happy-app
npm install
yarn install
This command installs a package, and any packages that it depends on.
Before you start make sure to create a Mapbox free account to get your token, if you do not have one.
Mapbox Tools
The Mapbox APIs allow you to programmatically access Mapbox tools and services. To run this application you need to create a Mapbox free account to get your token.
# .env
REACT_APP_MAPBOX_TOKEN=your_access_token
Also, you can check the file .env.example
with all environment variables in the project and examples of how to fill up your .env
file.
npm start
yarn start
Runs the app in the development mode.
Open http://localhost:3000
to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.