Giter Club home page Giter Club logo

trails.app's Introduction

Mod 2 Final Project

ย  For our final Mod 2 project - we build a full stack app using JS, CSS, HTML, and Ruby on Rails.

What is Trails?

Trails is an app to view Hiking Trails in the Colorado Area! We have it set up to list up to 100 of the trails closest to Denver. You can filter these by the name of the hike using the search bar or by difficulty using the nav buttons. Hiking trail difficulty is rated using the same terminology as Ski Slopes (beginner: green, medium: blue, expert:black). You can create a new user following the 'log-in' prompts under the header. After creating a new user, select the user's created username - the username will display under the header on the right. Add a favorite by clicking on the star at the top of each trail info card. To view your favorites - click your username! This will take you to a personalized page with your favorites listed. To delete a hike from your favorites, simply click the "delete" button at the bottom of each hike. Navigate back to home from your page with the "Home" button.


Set-Up Instructions

We accessed an API through REI Hiking Project with an REI member specific key. In order for this program to work, unfortunately you must be an REI member (or have a friend who's API you can use). Follow This Link to find your API key specific to your REI membership on the Hiking Project Page. You will need to log-in to your REI membership to view.

  1. Fork the repo, git clone, and cd into the main directory (mod2project)
  2. Open up your code editor of choice
  3. In your command line - into cd backend
  4. Create a new file .env
  5. In this .env file copy your API key from the Hiking Project Page:
    REI_API_KEY=your-REI-Hiking-Project-API-key
  6. Then in your terminal(still within the backend directory) run the comands
    rails db:migrate
    rails db:seed
    rails s
  7. Open a new terminal tab and cd into frontend. Run the command "lite-server"

You should now have a new browser window at our home page! Enjoy using trails!



Contributors: Daemon Self & Lizzy Tong

trails.app's People

Contributors

daemonspelledwrong avatar lizzy-t avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.