This is a Flask app for a project at school
Writing input to SQL doesn't work (properly), so this sorta uses a "nosql" database
db/
- Data Base
db/byte_db.txt
- Text data base
db/empty_main_db.sql
- Should be the database
static/
- CSS/JS
static/main.css
- Main CSS file
templates/
- HTML
templates/booking.html
- Booking page 127.0.0.1:5000/booking
templates/index.html
- Main page 127.0.0.1:5000/
db.py
- Database writer
main.py
- Starts Flask server
sudo apt-get install sqlite3 # An SQL command for Linux
python3 -m venv venv && source venv/bin/activate # Create a virtual environement and activate it to install python requirements
pip install -r requirements.txt # Python requirements
python3 main.py
google-chrome 127.0.0.1:5000 # Or whatever you use