Skip to content

yavor0/CarDealershipBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  1. Add mysql login information in the USER environment variables. There has to be one MYSQL_USERNAME and MYSQL_PASSWORD variable with the correct values respectively.
  2. Create a database called dealership (lowercase)
  3. Run these commands in the folder with Pipfile:
    -- pipenv install
    -- pipenv run python manage.py migrate
  4. To run the backend: pipenv run python manage.py runserver

(Optional) To create a django admin account run: pipenv run python manage.py createsuperuser

Supported endpoints

/dealership/cars - information for all cars
/dealership/cars/<id> - information for a specific car by its id

In development:

/dealership/evaluate - add options for users to sell their cars to us3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published