Skip to content

shaejsp/BookStoreDatabaseCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3005Project

About

This project mimicks an online book store using a database and a command-line interface for the users.

To set up the database:

  1. Create a new database in postgres.

  2. Update line 220 in src/insertion/insert.py and line 10 in src/ui/queries.py to have the username and password you used.

  3. Using Python3, run src/insertion/insert.py in your terminal. This will populate the database with books, publishers, authors, and genres.

To run the command-line interface:

  1. Make sure line 10 in src/ui/queries.py has been changed to have the username and password you used upon database creation.

  2. Using Python3, run src/ui/main.py

NOTE: you can only make one order per customer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages