This is a simple Flask-based backend providing API endpoints for users and teachers. It supports basic CRUD operations for users.
- Get all users and teachers
- Add a new user
- Update existing user
- Delete a user
- Python 3.x
- Flask
-
Clone the repo:
git clone https://github.com/yourusername/flask-backend.git cd flask-backend -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
python app.py