@@ -23,43 +23,38 @@ A simple task management application using Django, FastAPI, and Flask to demonst
2323 - Bootstrap 5 (via CDN)
2424## Installation & Setup
2525### Prerequisites
26-
2726 Ensure you have ** Python 3.x** installed on your system.
2827### Clone the repository
2928```
30- git clone https://github.com/Periyzat/API_Cruds.git
29+ git clone https://github.com/Periyzat/API_Cruds.git
3130```
3231### Set up a virtual environment
3332```
34- python -m venv .venv
35- source .venv/bin/activate (On Windows use .venv\Scripts\activate)
33+ python -m venv .venv
34+ source .venv/bin/activate (On Windows use .venv\Scripts\activate)
3635```
3736### Install the dependencies
38- - For Django:
39- `pip install django django-bootstrap-v5`
40- - For Fast API:
41- `pip install fastapi uvicorn sqlalchemy jinja2`
42- - For Flask:
43- `pip install flask flask-sqlalchemy`
37+ For Django:
38+ ` pip install django django-bootstrap-v5 `
39+
40+ For Fast API:
41+ ` pip install fastapi uvicorn sqlalchemy jinja2 `
42+
43+ For Flask:
44+ ` pip install flask flask-sqlalchemy `
4445## Database Configuration
4546This project uses** SQLite** as the default database, which is lightweight and file-based, making it ideal for development and testing environments.
4647- ** Django:** Automatically sets up an SQLite database ` (db.sqlite3) ` when you run migrations.
4748 ` python manage.py migrate `
4849- ** Fast API:** Creates an SQLite database file ` (tasks.db) ` when you run the application.
4950- ** Flask:** Automatically generates an SQLite database ` (db.sqlite3) ` when you run the application.
5051 ## Running the Application
51- **Django:**
52- ```
53- python manage.py runserver
54- ```
55- **Fast API:**
56- ```
57- uvicorn main:app --reload
58- ```
59- **Flask:**
60- ```
61- flask run
62- ```
52+ ** Django:**
53+ ` python manage.py runserver `
54+ ** Fast API:**
55+ ` uvicorn main:app --reload `
56+ ** Flask:**
57+ ` flask run `
6358## Usage
6459- Open the browser and navigate to the corresponding localhost address.
6560- Use the interface to create, update, and delete tasks.
0 commit comments