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.
(https://www.youtube.com/watch?v=1pg9a1te-74)
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
- Link to Google Maps for driving directions from current location.
- Add ability for user to add their own hikes to the database.