A simple CRUD API for managing tasks and users, built with FastAPI and MySQL.
- User management (create, read)
- Task management (create, read, update, delete)
- List all tasks for a user
- Secure password hashing
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Set up MySQL database:
- Create a database named
task_manager - Run the SQL script in
database/setup.sql
- Create a database named
- Create a
.envfile with your database credentials: - Run the application:
uvicorn api.main:app --reload
After starting the server, visit http://localhost:8000/docs for interactive API documentation.