-
Prepare your project architecture for a car renting system and implement user authentication allowing administrator role.
-
This route should be available only for administrators. It should display a form with which a car can be added to the system. Choose what properties each car should have but make sure you save at least an image, model and price per day for every data entry.
-
This route should be available for anonymous users. It should display all available cars for rent. Keep in mind that currently rented cars should not be displayed here. Add searching by a property (no case-sensitive) of your choice and paging as additional functionality for this route.
-
This route should be available for all registered users. Each user should be able to choose number of days for which to rent the car with the provided Id. Each rented car should not be shown on the /cars/all route.
-
This route should be available only for registered users. It should show for the currently logged in user all his/her rent history in a table.
-
This route should be available only for administrators. It should allow the user to edit the car with the provided Id.
-
Add functionality to the system as you see fit – you may add statistics, image uploads, nice design, etc. :)
alpepe/Car-Renting-System
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|