A project for sharing cars :oncoming_automobile: :seedling:
Contents
Website: https://cars-sharing.herokuapp.com/
Login Credentials (for code review):
As a member of WebAhead who has a car I would like to share...
As a member of WebAhead who is interested in using a car...
Suggested additional requirements / stretch goals:
Sign in:
Search for Car:
Add Car page and User Details page WIP
Schema:
Table 1: Users
- id
- first name
- last name
- phone number
- email
- password
- image
-------------------------
Table 2: Cars
- id
- type
- model
- engine
- color
- sets number
- raite
- image
-------------------------
Table 3: Reservations (Pivot table)
- id
- user_id
- car_id
- from_date
- to_date
-------------------------
MANY to MANY relationship between users and cars, where reservations links to two primary IDs
Routing:
Static:
-------
- Login page
- User Info page
- Reservation page
- Adding Car page
Dynamic
-------
GET:
- Get All Cars
- Get Available Cars
- Get Password check
- Get user details & reservations
POST:
- Post reservations
- Post new Cars