Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucasc-99/nittanybookstore
A bookstore web app built with Flask, SQL, and Bootstrap
https://github.com/lucasc-99/nittanybookstore
bootstrap flask python sqlalchemy webapp
Last synced: 3 days ago
JSON representation
A bookstore web app built with Flask, SQL, and Bootstrap
- Host: GitHub
- URL: https://github.com/lucasc-99/nittanybookstore
- Owner: Lucasc-99
- Created: 2021-08-09T22:23:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-19T00:40:27.000Z (over 3 years ago)
- Last Synced: 2024-12-19T10:22:40.653Z (about 2 months ago)
- Topics: bootstrap, flask, python, sqlalchemy, webapp
- Language: Python
- Homepage:
- Size: 5.39 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
Nittany Bookstore: a Flask/SQL Web App
This project was made using Flask and Bootstrap. The backend was made using Flask-Sqlalchemy as well as raw SQLite.
To run this project, make sure all the requirements (found in requirements.txt) are installed. Note that there may be some missing requirements depending on your system.
Next, find and execute the run.py file to launch the website. The address should be 127.0.0.1:5000. A Pycharm virtual environment for this project is also included.![Loginpage](/res/loginpage.png)
Once running, navigate to the register page via the navbar or use one of the following accounts:
Admin:
Log = admin
Pass = adminpassUser:
Log = Bot1
Pass = password![bookexample](/res/bookexample.png)
Directories:
In the nittanybookstore directory, the models, forms and routes files can be found. Forms contains classes for every form that was used in the website (made with FlaskForm). Models contains the ORM structure of the database. Routes contains the application routes for every page, along with all of the raw and slqalchemy query code. Large raw queries are documented with comments for easier reading.
In the nittanybookstore/templates folder, there are all of the HTML files. These files contain Jinja2 code that loads data passed in from routes
There is an additional css page called home.css in the static folder, this file is a template from the internet.