Skip to content

HaidarH726/FastAPI-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FastAPI-project

How to Run the FastAPI Task Manager Project

  1. Clone the repository
git clone https://github.com/HaidarH726/FastAPI-project.git
  1. Go into the project folder
cd FastAPI-project
  1. Install dependencies
pip install -r requirements.txt
  1. Start the FastAPI server
uvicorn main:app --reload
  1. Open the API documentation in your browser
http://127.0.0.1:8000/docs

You should now see the interactive Swagger UI where you can test all endpoints.

πŸ“Œ Detailed Information About This Project

This project is a simple REST API built with FastAPI that allows users to manage tasks. It demonstrates how APIs receive requests, process data, store information, and return responses.


πŸš€ Features

  • Create tasks
  • View all tasks
  • View a single task
  • Update a task
  • Delete a task
  • Delete all tasks
  • Task statistics endpoint
  • File-based storage using JSON lines

πŸ›  Programming Languages & Tools Used

  • Python
  • FastAPI
  • Pydantic
  • Uvicorn

πŸ“‚ How Data Is Stored

Tasks are stored in a file called:

tasks.txt

Each line in the file represents one task in JSON format. This simulates database storage for learning purposes and shows how backend systems persist data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages