Skip to content

johnjacobkenny/vehicle-rental-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle Rental Admin App

This project is an admin tool to manage vehicle rentals for a start-up company. The users using this system are the employees of the start-up who take requests from customers and enter it into the system. The types of vehicles available for rent include bicycle, bike, car, and boat.

Functional requirements

Employees should be able to,

  • add customers
  • add rental bookings (check vehicle availability, add rental booking, reduce inventory by 1)
  • view customer list
  • view rental booking
  • view vehicle inventory

Models

  1. Customer - Name, Phone, Email
  2. Rental Booking - Customer, Rental Date, Return Date (nullable), Vehicle Type
  3. Vehicle - Type, Quantity

First time setup

  1. pip install pipenv
  2. pipenv install

How to run

  1. pipenv shell
  2. python vehicle-rental-admin/main.py

Tasks

  • Setup pipenv
  • In the readme, give an outline about the project and requirements
  • Figure out project structure
  • Implement the data layer
    • Create db connection
    • Create models
    • Implement relationships
    • Test models
  • Setup initial data for the database ({‘bikes’:2, ‘cycle’:3, ’car’:1, ’boat’:2})
  • Implement the cli layer
  • Complete documentation
  • Push to github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages