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!
- Host: GitHub
- URL: https://github.com/daphinie/hi-ubc
- Owner: daphinie
- Created: 2022-01-01T19:20:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-23T01:58:47.000Z (over 4 years ago)
- Last Synced: 2025-03-31T22:35:03.103Z (about 1 year ago)
- Topics: mapbox-api, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 852 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 "`