Skip to content

itsCaveMan/AssetRentalAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AssetRentalAPI

Using Django and django-rest-framework

Written in StackEdit.

Index

  1. Technologies
  2. Setup
  3. Usage
  4. API short overview
  5. Design Diagram
  6. Spoilers

Technologies

  • Python 🐍 - 3.9
  • Django 📄 - 4.03
  • djangorestframework 🧩 - 3.13.1

Setup

  1. Clone repository
  2. Create and activate env of choice
  3. pip install -r requirements.txt
  4. cd AssetRentalAPI/AssetAPI
  5. python3 manage.py migrate
  6. python3 manage.py runserver

Usage

hit 127.0.0.1:8000 to be redirected to the documentation


hit 127.0.0.1:8000/swagger to overview API's

API Short Overview

  1. api/v1/customer/ - customer CRUD
  2. api/v1/personnel/ - personnel CRUD
  3. api/v1/asset/ - asset CRUD
  4. api/v1/fleetrental/ - CRUD of customer fleet rentals
  5. api/v1/trip/ - CRUD of vehicle trips
  6. more details in api/v1/docs/



Models/Persistence Design Diagram

Please click the below diagram to view the interactive chart @ LucidCharts.com models design at lucidcharts



Spoilers

Screenshot 2022-04-03 at 21 22 44


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages