A FastAPI-based backend project for managing incident tickets. This project supports creating, viewing, updating, and deleting support tickets using a SQLite database.
- Create incident tickets
- View all tickets
- View a single ticket by ID
- Update ticket details and status
- Delete tickets
- Interactive API testing with Swagger UI
- Python
- FastAPI
- SQLite
- Uvicorn
- Pydantic
app/main.py- main FastAPI applicationtickets.db- SQLite database filerequirements.txt- project dependenciesREADME.md- project documentation
python3 -m uvicorn app.main:app --reload
## API Documentation
After starting the server, open:
http://127.0.0.1:8000/docs
## Example Ticket JSON
{
"title": "Database connection issue",
"description": "Users cannot access the wealth management portal",
"priority": "High",
"assigned_to": "Dinkar"
}
## Future Improvements
Add ticket filtering by status and priority
Add user authentication
Add timestamps for ticket creation and updates
Add dashboard frontend
Deploy with Docker