38 lines
590 B
Markdown
38 lines
590 B
Markdown
# Flask SQL Website
|
|
|
|
A modern web application built with Flask and SQLAlchemy.
|
|
|
|
## Setup
|
|
|
|
1. Create a virtual environment:
|
|
```bash
|
|
python -m venv venv
|
|
```
|
|
|
|
2. Activate the virtual environment:
|
|
- Windows:
|
|
```bash
|
|
.\venv\Scripts\activate
|
|
```
|
|
- Unix/MacOS:
|
|
```bash
|
|
source venv/bin/activate
|
|
```
|
|
|
|
3. Install dependencies:
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
4. Run the application:
|
|
```bash
|
|
python app.py
|
|
```
|
|
|
|
The application will be available at http://localhost:5000
|
|
|
|
## Features
|
|
- SQL database integration
|
|
- Modern web interface
|
|
- RESTful API endpoints
|
|
- Form handling and validation |