early_bird's Issues
Root Path
As a guest:
When I visit '/'
I should see the following links:
- EarlyBird
- Tee Times
- Courses
- Dashboard
- Log in
Tee Time Show (Instead of Cart)
As a logged-in user:
- When I visit '/courses/1'
- And I click on '7:20 AM' for the date Tue Nov 01
- I expect my current path to equal '/courses/1/tee_times'
- And I expect to see the following information
- Course name
- Course address
- Time
- Date
- Players (quantity adjustable)
- Unit Price
- Subtotal
- And I expect page to have content 'Phone Number to receive booking code' with a text box to enter my phone number
- And if I have friends added to my dashboard, I expect to be able to select their phone numbers from a dropdown
- And I expect to see a button 'Confirm Booking'
User can adjust player quantity
On course tee time show (booking page)
- User can adjust player quantity
- User can see total adjust to match adjusted quantity
- e.g. unit price $2, quantity 2, total = $4
Tee Times Index (By Course)
As a guest:
- When I visit '/courses/1/tee_times'
- I expect page to have a table with the following headers:
- Time
- Course
- Location
- Date
- Unit price
- Purchase
- And I expect to see the related information for all tee times in the table
Add Readme
Setup Twillio for Order
When a user confirms booking and creates an order:
- All players (if user provided phone # or added saved player) will receive a text with random code.
Past Orders
User can see past orders with the following info:
- Order # (id)
- Text sent to: (phone numbers)
- Date Booked
- Course, Tee Time, Date (of tee time), $ Total
Complete Final Refactor
Setup Order to Patch Tee Time quantity
User confirms booking:
- Order Created
- Patch sent to api/vi/courses/:course_id/tee_times/:id?quantity=(quantity booked)
- This updates the quantity of slots available on that tee time
- e.g. if 4 available, 3 booked, remaining quantity is 1
Log in
As a guest:
- When I visit '/',
- And I click on 'Log in',
- I expect my current path to equal '/'
- And I expect the page to have content 'Hello, username!'
- And I expect the page to not have content 'Log in'
- And I expect the page to have content 'Log out'
Course Show
As a guest:
- When I visit '/courses'
- And I click on 'Overland Park'
- I expect my current path to equal '/overland-park'
- And I expect to see the course name, location, phone number, and image
- And I expect to see a table with the following headers:
- Tee time
- Quantity
- Date
- Unit Price
- Purchase
- And I expect to see the related information in the table
Start Tee Time Show
Courses Index
As a guest:
- When I visit '/'
- And I click on 'Courses'
- I expect my current path to equal '/courses'
- And I expect to see all courses with the following information:
- Image
- Course name
- Course location
- And I expect each course to have a link/button to 'View Course'
Write Service Specs
- For BirdService using VCR
Create Golf Course API
Setup Faraday Service
Configure styling to match wireframes
Add some initial styling before consuming API
Update Service Spec
Remove quantity spec
Only display available tee times
Tee times will be displayed unless quantity == 0
Dashboard
As a logged-in user:
- When I visit '/dashboard'
- I expect the page to have content 'Account Info' along with my name
- And I expect to see the following links:
- View Orders
- And I expect the page to have content 'Players' with a '+' link to add players.
User can delete players
As a user:
- When I visit /settings
- I should see a list of my players
- And I should see a delete/remove button next to each player
- And when I click delete/remove
- Then the play should no longer be visible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.