Skip to content

bekowashere/automotodata-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

START GUIDE

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

python manage.py makemigrations
python manage.py migrate

pyhton manage.py createsuperuser

SUBSCRIBE

python manage.py add_plans

AUTO

(add_brands is enough for test phrase)

python manage.py add_brands


python manage.py add_series
python manage.py add_models
python manage.py add_specification_types
python manage.py add_specifications
python manage.py add_cars

CLEAR PYCACHE - MIGRATIONS

clear.sh

ENDPOINTS

ACCOUNT

✔️ [POST] api/token/ - MyTokenObtainPairView

✔️ [POST] api/account/register/customer/ - CustomerUserRegisterAPIView

AUTO

✔️ [GET] api/auto/ - BrandListAPIView

✔️ [GET] api/auto/<brand_slug> - BrandDetailAPIView

✔️ [GET] api/auto/<brand_slug>/<series_slug> - SeriesDetailAPIView

✔️ [GET] api/auto/<brand_slug>/<series_slug>/<model_slug> - ModelDetailAPIView

✔️ [GET] api/cars/<car_slug> - CarDetailAPIView

About

Cars & Moto Database with DRF and Subscription

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors