markyv18 / bike-share Goto Github PK
View Code? Open in Web Editor NEWThis project forked from turingschool/bike-share
This project forked from turingschool/bike-share
/trips - be able to view the first 30 trips organized by date. Arrows to go the next 30 and the previous 30.
/trips/:id
/trips/new
/trips/:id/edit
add delete CRUD functionality
Duration
Start Date
Start Station
End Date
End Station
Bike ID
Subscription Type
Zip Code - zip code is not required as it is user input
/trips . when a user visits /trips they get first 30 results, with arrows to check the next 30 - then if they did go to the next 30 results, they could go back the previous 30 results. Organized by date. This will be controlled by through the controller.
/trips/:id
/trips/new
/trips/show
/trips/:id/edit
They include:
Average docks per station
Largest number of docks at a station
Station with the largest number of docks
Fewest number of docks at a station
Station with the fewest number of docks
Most recently installed station
Oldest station
Setup /station_dashboard route in controller. Build view that displays info from model methods
Number of rides started at this station.
Number of rides ended at this station.
Most frequent destination station (for rides that began at this station).
Most freuqnet origination station (for rides that ended at this station).
Date with the highest number of trips started at this station.
Most frequent zip code for users starting trips at this station.
Bike ID most frequently starting a trip at this station.
That requires moving all the expect(current_path).to eq tests (Currently in feature tests) into controller tests
Set up controller route
Set up view
Populate DB from csv files. Will involve using CSV library to read file and Station.create + City.create from each row.
Every time you visit a show page, you should have the ability to navigate to other show pages depending on that pages information.
Average duration of a ride.
Longest ride.
Shortest ride.
Station with the most rides as a starting place.
Station with the most rides as an ending place.
Month by Month breakdown of number of rides with subtotals for each year.
Most ridden bike with total number of rides for that bike.
Least ridden bike with total number of rides for that bike.
User subscription type breakout with both count and percentage.
Single date with the highest number of trips with a count of those trips.
Single date with the lowest number of trips with a count of those trips.
Good:
city = City.create(name: 'Denver')
city.stations.create(lat: 37.329732, long: -121.90178200000001, name: 'Turing Station', dock_count: 12, installation_date: Date.parse("8/6/2013"))
Bad:
city = City.create(name: 'Denver')
station = Station.create(lat: 37.329732, long: -121.90178200000001, name: 'Turing Station', dock_count: 12, city_id: 1, installation_date: Date.parse("8/6/2013"))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.