Skip to content

For this project we will create a fictional Auto Sales site called United Auto Sales that will allow users to add cars that they want to sell, search for available cars and be able to view some more information on those cars. Users can also add a car to their favourites so they can quickly get back to it.

BeaTea109/info3180-Project2-UASW-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

info3180-Project2-UASW

For this project we will create a fictional Auto Sales site called United Auto Sales that will allow users to add cars that they want to sell, search for available cars and be able to view some more information on those cars. Users can also add a car to their favourites so they can quickly get back to it.

Flask Server

Config

Basic DB configuration

app.config['SECRET_KEY'] = "change this to be a more random key" app.config['SQLALCHEMY_DATABASE_URI'] = "postgresql://[user]:[password]@localhost/[db_name]"

Setup

Start virtualenv

cd server cd venv cd scripts activate

Install Requirements

pip install -r requirements.txt

Run Migration

python flask-migrate.py db upgrade

Launch Server

cd server python run.py

About

For this project we will create a fictional Auto Sales site called United Auto Sales that will allow users to add cars that they want to sell, search for available cars and be able to view some more information on those cars. Users can also add a car to their favourites so they can quickly get back to it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published