Open
Conversation
Added name
Update README.md
Update README.md
skeleton pages
routing and links
update bikes and stations
11/7 - mei
11/7 - mei
tables for users, memberships and transactions
11/7 - mei
finish print bikes and stations
Fixed href link
update stripe
Fixed database usage and worked on renting styling
finished styling for returning
update mei
removed: accoutn_helper.rb return.html.erb payment_information_controller.erb payment information folder + index pay_information routes active_trip/return routes past_trips/index from routes
…nh-update-stripe
Anh display membership
changed the styling on the membership buttons
fix small error
make pretty
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instructions for setting up the dev environment (e.g. installing gems, running rake tasks, or seeding the database)
Devise configuration(derived from configuration steps from this [tutorial](https://www.digitalocean.com/community/tutorials/how-to-set-up-user-authentication-with-devise-in-a-rails-7-application)):
<%= notice %>
<%= alert %>
Seeding the database with rake tasks:
Set up Stripe in your computer references from (https://stripe.com/docs/stripe-cli) and (https://dashboard.stripe.com/test/webhooks/create?endpoint_location=local)
stripe loginand use the email and password from earlierstripe listen --forward-to http://127.0.0:3000/webhooksIn a new terminal run
stripe trigger payment_intent.succeededComplete description of the prototype's functionality
Our prototype opens to a Home Page, which welcomes the user to ValetBike. Within the header, there are links that take the user to different pages on our website. These links include: Home, About, How it Works, Map, Membership Plans, and Account. The logo on the left of the header can also be clicked to take the user to the Home Page.
Our Home Page currently has a bikeshare image and a brief welcome message.
The About Page provides a brief overview of ValetBike and it informs the users of ValetBike’s goals and missions. On this page, there is a button labeled “Discover Pricing Plans,” and it directs the user to the Membership Plans page when clicked.
The How It Works page shows a simple four step process for renting bikes with pictures.
The Map link displays a functional map that allows users to log in to rent bikes.
Membership Plans page displays three different pricing plans, weekly, monthly, and daily passes. If you click on any of the plans you will be redirected to a Stripe checkout page that allows you to buy the plan by entering your credit card information.
The Sign In page displays a functional sign in and sign up interface in which the user can input their email and password to log in. There is also an option to check the “remember me” box when signing in. If the password is forgotten, the user is able to click on “Forgot your Password?” to input their email for password reset instructions to be sent. After inputting their email, they can go to the “Log In” or “Sign Up” page. From the “Log In” page, if the user has not yet made an account, they are able click “Sign Up” to be taken to the signup page where they input an email, a password, and a password confirmation. From the “Sign Up” page, if the user already has an account, they can click the link to the “Log In” page.
The “Contact Page” in the footer contains information about how to contact Calicoders Valetbike
Once a user signs in, several things change.
The sign in button changes to say account. When the user hovers over Account, a drop down appears with a sign out button to sign out and a manage account button.
Additionally, the map button in the header is different depending on if the user has a bike checked out.
The Rent Bike Map displays all of the stations with an available bike to rent. On the left, there is a list of those stations, that when clicked reveals more information about the station and a button to rent a bike.
The Return Bike button shows in the header when the user has a bike checked out. It redirects them to the Return Bike Map which is the same as the Rent Bike Map but displays all of the stations with an open slot to return the bikes, and contains a button to return a bike, which when clicked gives them a confirmation message.
Recommended walkthrough steps to observe key features
Summary of changes made since the prototype: