Git Product home page Git Product logo

dont_panic_travel's Introduction

Don't Panic Travel

By L. Devin MacKrell

Description

This is an intergalactic travel site based around the popular travel guide: The Hitchhiker's Guide to the Galaxy.

Installation and Setup

To install on your own machine, follow the instructions below:

  • Clone this repository.
  • Run the following commands in the project root directory:
    bundle update
    rake db:setup
    rails db:seed
    rails s
    
  • Open localhost:3000 in your web browser
  • To give an account admin privileges:
    • In the project root run rails c
    • Then run:
      User.find_by(email: "[account email address]").update(admin: true)
    • The account will now have admin access to the app.

Specifications

** Users
** All users may GET reviews about travel destinations. INDEX ** All users may POST reviews about travel destinations. NEW ** All users can GET reviews by location or planet. SEARCH ** All users can see most popular travel destinations by number of reviews. SORT by REVIEW #s ** All users can see most popular travel destinations by overall rating. RATING ** Users can look up random destinations for fun. RANDOM ** Current_Users ** Users can PUT and DELETE reviews that they wrote. (REQUIRE USER_NAME --> Issue with faker reviews?)

Things I need:

  • Destination

    • Index and maybe show.
  • Review

    • Structure
      • User
      • Destination
      • Rating
      • Content
    • User
      • All Users can
        • Read reviews about destinations (index)
        • Sort destinations by number of reviews
        • Sort destinations by ratings
        • Search destinations by planet
        • Look up random destinations
      • Authentication and Authorization.
        • Users need to be logged in to leave (POST) a review.
        • Users only update (PUT) and delete (DELETE) their own reviews.
  • Additional TODO (pick at least 2)

    • Token-Based Authentication and Authorization
    • Serialization
    • API Versioning
    • Using Swagger for Documentation
    • Paginating an API
    • Batching API calls
    • Rate Limiting

Support and contact details

Please contact [email protected] with questions, comments, or issues.

Technologies Used

  • Ruby
  • Rails
  • Bootstrap
  • Devise

License

Copyright (c) 2017 L. Devin MacKrell

This software is licensed under the MIT license.

dont_panic_travel's People

Contributors

mackless avatar

Watchers

 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.