An open API service indexing awesome lists of open source software.

https://github.com/daphinie/hi-ubc

Plan out your visit of UBC's best attractions!
https://github.com/daphinie/hi-ubc

mapbox-api nodejs react

Last synced: about 2 months ago
JSON representation

Plan out your visit of UBC's best attractions!

Awesome Lists containing this project

README

          

# Hi UBC
Friends and family coming to visit campus? Plan out the tour that'll dazzle them ✨

https://user-images.githubusercontent.com/67568792/147858540-694569b7-f0a9-46ed-8ed0-7a6f219922ae.mov

# Built with
* [React](https://reactjs.org/)
* [Mapbox API](https://docs.mapbox.com/api/overview/)
* [Material UI](https://material-ui.com/)

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

# Getting started
Navigate to the directory you want this project to be in,

`git clone git@github.com:daphinie/hi-ubc.git`

Install packages

`npm install`

Start the app

`npm start`

The app should be at http://localhost:3000/

# Environment variables
In order to load the maps, you need an access token from [Mapbox](https://www.mapbox.com/).

In the root directory, create file `.env.local`

`REACT_APP_MAPBOX_ACCESS_TOKEN=" paste the Mapbox access token here "`