CoolFace
Apppublic

Aliraza4278/Full-Stack-Todo-App

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes
App README

Full Stack Todo App - Backend API

A FastAPI backend for the Todo application with JWT authentication and PostgreSQL database.

Features

  • RESTful API endpoints for task management
  • JWT-based authentication
  • User isolation (users can only access their own tasks)
  • PostgreSQL database with SQLModel ORM

API Endpoints

  • GET / - Health check
  • GET /docs - Swagger API documentation
  • POST /api/{user_id}/tasks - Create a task
  • GET /api/{user_id}/tasks - List all tasks
  • GET /api/{user_id}/tasks/{task_id} - Get a specific task
  • PUT /api/{user_id}/tasks/{task_id} - Update a task
  • DELETE /api/{user_id}/tasks/{task_id} - Delete a task
  • PATCH /api/{user_id}/tasks/{task_id}/complete - Toggle task completion

Tech Stack

  • FastAPI
  • SQLModel (SQLAlchemy + Pydantic)
  • PostgreSQL (Neon)
  • JWT Authentication