Skip to content

Volatar/Bombastic-Bookstore

Repository files navigation

Bombastic Bookstore

SP2024-CSC289 Group project (group 2) at Wake Technical Community College

Contributors:

  • Daniel Stanton
  • Matthew Wilamowski
  • Stefan Slaczka
  • Tanner Plishka
  • Taylor Sanderson

Installation instructions using built in batch file

First, clone the repo or otherwise download the project files. You will need Python 3.10 or later to run this project. In the root folder of the project there will be a batch file named Bombastic Bookstore Install.bat. Simply run this file, and it will install a virtual environment and all the required dependencies, and then will start the application.

python installing dependancies

the server starting up

If you wish to stop the server from running, close the command line window that the batch file opened.

Installation Instructions using Pycharm

If you want to modify the project you will want to install it via PyCharm. First, clone/download the git repo to a folder on your computer. Where this goes is up to you. Then, open PyCharm and click File -> New Project in the upper left.

PyCharm menu bar

On the next screen you have to change several settings.

PyCharm new project window

Change the location at the top to your new folder with the project files in it Select "New environment using Virtualenv", and select a location for this. I suggest a sub folder to the rest of the project titled .venv as this is included in the gitignore already. Base interpreter should be the latest version of Python you have. Minimum 3.10. Do not inherit global packages. Making available to all projects is up to you, I suggest no. Do not create a welcome script. Click create.

Next you will be presented with this prompt:

Directory is not empty prompt

Click Create from Existing Sources.

You now have the PyCharm project created. There is one more step before you can run the application.

Go to the PyCharm project Terminal in the lower left of the screen:

PyCharm bottom menu bar

Input the following command: pip install -r requirements.txt

PyCharm terminal window

You are now ready to run the application.

How to run the web application

To run the web app, type flask run into the PyCharm Terminal when it is at the root project folder and connect to the localhost ip it provides in it's output with your web browser. To stop the program, press ctrl-C in the same terminal.

User logins

For testing purposes we have made several users.

The admin user's login is: admin and their password is: Capstone

There is also a regular user login login: test password: test

You can also freely register new regular users as you wish.

Features

Add to Cart Button

  • This button is available on every book. When pressed, it adds the book to the cart and redirects the user to the cart page.

    Add to Cart

Navbar

  • Not Logged In: Home and Login buttons. Navbar

  • Logged In: Home, Cart, Profile, and Logout buttons. Navbar

  • Admin: Home, Cart, Profile, Logout, and Admin buttons. Navbar

Search Bar

  • Allows users to search for books within the website by Title, Author, and Genre.

    Search Bar

Home Page

  • Landing page featuring highlights of books. Users can navigate to the Display Page by pressing the "View All" button.

    Home Page

Display Page

  • Shows all the books in the database.

    Display Page

Book Details

  • Displays all information about the selected book.

    Book Details

Search Results Page

  • Displays search results based on the user's query.

    Search Results

Login Page

  • Allows users to log in to their accounts.

    Login Page

Register Page

  • Enables new users to create an account.

    Register Page

Profile Page

  • Displays user information.

    Profile Page

Cart Page

  • Shows items that the user has added to their shopping cart.

    Cart Page

Checkout Page

  • Provides fields and steps for users to complete their purchases.

    Checkout Page

Receipt Page

  • Displays a receipt or confirmation message after a successful purchase.

    Receipt Page

Admin Page

  • Allows management of products, inventory, and orders.

    Admin Page

Catalog Page

  • Lists all available products or items in a categorized manner.

    Catalog Page

Inventory Page

  • Allows admin users to manage the inventory of products.

    Inventory Page

Order Page

  • Displays details of past orders and allows users to track their orders.

    Order Page

Sales Page

  • Provides insights and analytics on sales data.

    Sales Page

Visual Page

  • Displays visual data such as Monthly Sales Trend, Sales Amount by State, Top Selling Authors, Inventory Percentages, and Top Selling Books.

    Visual Page

About

SP2024-CSC289 Group project (group 2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published