Giter Club home page Giter Club logo

vagabond's Introduction

Vagabond-app

by Team VagaBabies

A travel community for users to share destination tips posts about their favorite tropical locations around the world.

Work flow

  • User lands on the homepage to view index page

  • User is able to click on either "log-in" or "sign-up"

  • Index page lists a collection of tropical cities

  • WITHOUT logging-in, user is able to have a read-only view of city-specific reviews

  • ONLY IF logged-in, user is directed to sessions page

  • User is able to view city-specific reviews & user-specific reviews

  • User is able to CRUD his/her own city-specific reviews

  • User is able to upload travel images (limit photo count)

  • New reviews are prepended to the old reviews list

  • Create GitHub repo

  • Add collaborators to the repo

  • Clone project to local drive

  • Avoid working on master branch

  • git checkout new branch

  • Create new application

  • Generate controllers - users, cities, reviews

  • Generate models - user, city & review

  • Create relationships between models

    • Model user has_many reviews
    • Model city has_many users
    • Model review belongs_to users
    • Model review belongs_to cities
    • Model user belongs_to cities
  • Attributes of each model:

    • User Model => username(string), date_joined(string), current_city(string), email(string), password_digest(string)
    • City Model => city_name(string), country(string)
    • Review Model => description(string), rating(integer)

vagabond's People

Contributors

jfambrough avatar relative-rene avatar jha-ayush avatar

Watchers

James Cloos avatar  avatar  avatar jonathan avatar jacquelyn fambrough 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.