Giter Site home page Giter Site logo

mikecm1141 / move_time Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.09 MB

A simple Rails app for gathering information about prospective cities to help users decide if moving to that city would be a good fit for them.

Home Page: https://move-time.herokuapp.com/

Ruby 70.77% JavaScript 2.95% CSS 1.31% HTML 24.97%

move_time's People

Contributors

mikecm1141 avatar

move_time's Issues

User searches for a city

As a user,
When I visit '/',
And I enter valid a city, state in the top search bar,
I am taken to that city's result page,
And I see the population,
And I also see the cost of living,
And I also see the cost of vehicle registration,
And I also see crime data,
And I also see a walk-ability score,
And I also see a bike-ability score

User logs out

As a user,
When I visit '/',
And I click on 'Log Out',
I should be redirected to the root,
And I should see 'Logged Out',
And I should see 'Sign In',
And I should not see 'Dashboard'
And I should not see 'Log Out'

Setup Rails with Desired Gems

Setup a new Rails application with the following gems:

rspec-rails
factory_bot_rails
database_cleaner
shoulda-matchers
pry
codecov
simplecov
capybara
launchy

User registers an account

As an unregistered guest user,
When I visit '/',
And I click on 'Sign Up',
And I enter my first name,
And I enter my last name,
And I enter my email,
And I enter my password twice,
And I click 'Create Account',
Then I am logged in,
And I am redirected to my user dashboard,
And I see 'Welcome 'First Name' 'Last Name'
And I see 'Log Out'
And I do not see 'Sign Up'

Configure rspec and gems

Configure rspec to be the test suite, and configure rspec for database_cleaner, shoulda-matchers DSL, and simplecov/codecov.

Create README

Create a README with the following information:

System Requirements
Dependencies
Purpose/Description
Installation
Database Initialization
Test Suite
Screenshots
Contributors

Breadcrumbs

Add breadcrumbs to the project to help user navigation.

Alert Users When They See An Old Favorite

When a user searches for cities, and the results are displayed, make a note by cities the current user has already favorited but as deactivated in the past. This is simply to let them know they have already looked at this city, even if they may wish to add it to their favorites once again.

User logs in

As a registered guest,
When I visit '/',
And I click on 'Sign In',
I see a form for 'email' and 'password',
And I enter my information,
And I click 'Sign In',
Then I am taken to my user dashboard,
And I see 'Welcome 'First Name' 'Last Name',
And I do not see 'Sign In',
And I do see 'Log Out'

User views city show page

As a user,
When I search for a city,
I see a list of cities,
And I click on the one I want to see,
And I takes me to the city show page,
And shows me the city name,
And shows me the city population

Style City Info page

Style up the city information page to present the data in a better, more readable and interesting way.

Create welcome page

Create a welcome page that describes the application's purpose, with links to the repository as well as a basic guide on application functionality.

User favorites a city

As a registered user,
When I visit '/',
And I search for a city, state at the top search bar,
And I am taken to that city page,
I see a button 'Add To Favorites',
When I click that button,
It adds that city to my favorites,
And I see the button change to 'Remove From Favorites'

User removes favorite city

As a registered user,
When I visit '/dashboard',
And I click on a city in my favorites,
I am taken to that city's page,
And I click 'Remove From Favorites',
And the city is removed from my favorites,
I see the button change to 'Add To Favorites'

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.