Bike-Share is the final project for Back-End Engineering Module 2 at Turing School of Software and Design. This was a team project with three contributors. The purpose of the project was to gain familiarity with one-to-many and many-to-many relationships within Rails and build a project from scratch with only user stories, no wireframes. Features of the project include simple analysis of SF Bay Area Bike Share data from kaggle.com.
The app also has an e-commerce area where visitors can add accessories to their cart, and registered users can checkout their cart to create an order. The app features a secure login for users and admins, with users, accessories, orders, accessory_orders, stations, and trips in a PostgreSQL database.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
This project uses these gems:
- figaro
- bcrypt
- rspec
- capybara
- launchy
- should-matchers
- pry
- active_designer
- simplecov
- Ruby 2.4.1
- Standard Rails setup for Rails 5.2
To install dependencies after cloning the app, run in the command line:
bundle install
To setup the database, run:
rails db:create
rails db:migrate
rails db:seed
To run the server on localhost:3000, run:
rails s
Run rspec
in the terminal.
- Visitors can view stations index and show, trips index and show, accessories index and show, and they are able to login, create a new account, or add items to a cart before logging in.
- Logged in users can view and edit their profile, checkout their cart, and view additional analytics data.
- Admin users can be created from the command line. They can create, edit, and delete stations, trips, and accessories.
http://bikeshare-manoj.herokuapp.com/
- Manoj Panta - (https://github.com/manojpanta)
- Steve Schwedt - (https://github.com/apoc64)
- Eliot Swank - (https://github.com/EMSwank)
- Fork it ( https://github.com/manojpanta/Bike-Share )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request