Skip to content

Rails and PostgreSQL backend for the Hikable web app. Designed to help New Zealanders find and save hiking tracks. Uses data from a public department of conservation API

License

Notifications You must be signed in to change notification settings

lukesherwood/hikable-api

Repository files navigation

Hikable - Your favorite hike is just around the corner

A directory of hikes that you can learn about and save for later

The broad idea is an app like Yelp but for hiking tracks. Particularly relevant for New Zealand as there is a functioning public API which contains almost all hiking tracks in the country and their own website is rather poor and hard to navigate.

Backend is built with Ruby on Rails, users are securely managed with Devise and JWT tokens are used to manage user sessions. Database and server are with PostgreSQL.

Frontend is built with React-JS and state is managed with Redux. Styling with Bootstrap and custom CSS.

Walk-through

(https://www.youtube.com/watch?v=1pg9a1te-74)

Get Started

Visit Hikable Make sure you've cloned both the front-end and back-end

Navigate to the API directory and bundle install

Set up the database with rails db:create, rails db:migrate and then run the seed data rails db:seed

Start the rails server

Navigate to the Frontend directory in a separate terminal and run npm start

You can then view the website in your browser at http://localhost:3000

Future updates

  • Link to Google Maps for driving directions from current location.
  • Add ability for user to add their own hikes to the database.

About

Rails and PostgreSQL backend for the Hikable web app. Designed to help New Zealanders find and save hiking tracks. Uses data from a public department of conservation API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published