Skip to content

BernardoMeine/RentX

Repository files navigation

Car registration

FR (Functional requirement) It should be able to registrate a new car.

BR (Business Rule) It should not be possible to register a car with an existing license plate. A new car must be registered always as available.

  • The user responsible for the registration must be an admin user.

Car listing

FR It should be possible to list all the available cars. It should be possible to list all the available cars by the categories's name. It should be possible to list all the available cars by the brand's name. It should be possible to list all the available cars by the car's name.

BR It should be possible to list the cars without being logged in.

Car specification registration

FR It should be possible to register an specification for a car.

BR It should not be possible to register a specification for a non-registered car. It should not be possible to register the same specification twice for the same car. The user responsible for the registration must be an admin user.

Car images registration

FR It should be possible to register the car's image.

NFR Utilize multer for the files upload.

BR The user should be able to register more than one image for the same car. The user responsible for the registration must be an admin user.

Car rental

FR It should be possible to register a new rental.

BR The rental should last at least 24 hours. It should no be possible to register a new rental in case there is one open for the same user. It should no be possible to register a new rental in case there is one open for the same car. When making a rental, the car status must be changed to unavailable.

Car return

FR It should be possible to return a car

BR If the car is returned in less than 24 hours, it should be charged for the full rent. At the moment of the return, the car should be available immediatly for another rent. At the moment of the return, it should be possible for the user to rent another car. At the moment of the return, it should be possible to calculate the total amount. In case the car is returned later than the time hired, it should be charged a penalty for the amount of time In case the penalty is high(?), it should be charged together with the total amount.

Listing rents for the user

FR It show be possible to search all the rents for the user.

BR The user must be logged in the application.

Password recovery

FR It should be possilable to recover the password informing the email. The user should receibe an email with a step-by-step password recovery process. The user should be able to insert a new password.

BR The user must inform a new password. The link sent for the password recovery must expire in 3 hours.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages