REI Web Assistant is a comprehensive web application designed to facilitate the management of a phone repair business. The application offers various features including price quotations, product information lookup, order management, and more. This project is built using Flask, a lightweight web framework for Python, and leverages Bootstrap for the front-end design.
2024-12-18.17-31-48.mp4
- Clone this repository.
git clone https://github.com/Thorns-H/rei.git && cd rei
- Using your SGBD (in this example im using mysql) create and import the database:
CREATE DATABASE new_database;
mysql -u username -p new_database < sql_source/database.sql
- You need to create a .env file with all your personal information to run the app, this is an example:
DB_HOST = YOUR_HOST
DB_USER = YOUR_USER
DB_PASSWORD = YOUR_PASSWORD
DB_NAME = YOUR_DATABASE
DB_PORT = YOUR_PORT (3306 by default)
FLASK_SECRET_KEY = YOUR_FLASK_KEY
- Linux:
python3 -m venv rei_venv
source rei_venv/bin/activate
pip3 install -r requirements.txt
- Windows:
py -m venv rei_venv
source rei_venv/Scripts/activate.bat
pip install -r requirements.txt
Finishing this steps you can now run the app.py
and log into the browser using DB_HOST:5050
.
- To get all the phones data: phone-specs-api.
- To generate temporaly emails: 1secmail.