Visit More Parks is an app that suggests U.S. National Parks near events in your Google Calendar. The app also makes it easy to add a park visit to your calendar.
This repository houses the React frontend interacts with the Rails API.
What It Does
- Users log in with their Google Calendar account.
- U.S. National Parks are pre-loaded with geocoded coordinates and addresses (using the NPS.gov Parks API and the Geocoder Ruby gem).
- Upcoming calendar events are geocoded and displayed with their nearby parks.
- Users browse, add, and remove nearby park visits, automatically updating Google Calendar.
- All National Parks are browsable.
Note: This project's Google Calendar API will only work for webmeadow.com Google users. Non-webmeadow accounts won't be able to log in or use this app!
- Install the Rails API.
- Install app
$ npm install
- Start server, which will also open http://localhost:8000 in your browser. The page will reload if you make edits. You will also see any lint errors in the console.
$ npm start
Browse, create, and edit events and parks!
- Log in with your Google account to see upcoming events and nearby parks. Google Calendar events need a location in the format
city, state
to get matched with parks. - Navigate to 'Parks' to browse all United States National Parks.
Bug reports and pull requests are welcome on GitHub at https://github.com/aparkening/recipe_costs_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Tea Tastes project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
This project was bootstrapped with Create React App.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.