Python Web App - Flask & SQLite
This is a professional portfolio web app for Miguel Marquez.
It showcases skills, experience, education, and projects dynamically loaded from a SQLite database using Flask.
Features:
- Landing page with a Welcome button
- Dynamic loading of profile data from SQLite
- Responsive design with HTML, CSS, JS
- Clean and professional layout
Requirements:
- Python 3.10+
- Flask
- SQLite3
- python-dotenv
Setup Instructions:
-
Clone the repository:
cd Python-Web-App-Flask-SQLite-HTML-CSS-JS
-
Create a virtual environment (venv):
python -m venv venv
-
Activate the virtual environment:
Windows PowerShell: venv\Scripts\Activate.ps1 Windows CMD: venv\Scripts\activate.bat Linux / MacOS: source venv/bin/activate
You should see (venv) at the start of your console.
-
Install dependencies:
pip install -r requirements.txt
-
Create the .env file:
Create a file named .env in the project root with the following content:
FLASK_APP=app.py FLASK_ENV=development SECRET_KEY=your_secret_key_here DATABASE_URL=sqlite:///profile.db
-
Run the app:
flask run
Open your browser at http://127.0.0.1:5000
-
Database:
The SQLite database profile.db contains all profile information.
You can update skills, experience, education, and projects directly in this database.
License:
MIT License