Skip to content

Dinkarpai/incident-ticket-tracker-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Incident Ticket Tracker API

A FastAPI-based backend project for managing incident tickets. This project supports creating, viewing, updating, and deleting support tickets using a SQLite database.

Features

  • 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

Tech Stack

  • Python
  • FastAPI
  • SQLite
  • Uvicorn
  • Pydantic

Project Structure

  • app/main.py - main FastAPI application
  • tickets.db - SQLite database file
  • requirements.txt - project dependencies
  • README.md - project documentation

How to Run

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

About

A FastAPI-based incident ticket tracker API for managing support tickets, tracking status and priority, and simulating real-world IT service management workflows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages