web-app / README.md
asmaakbar's picture
update
ba713bc
|
Raw History Blame Contribute Delete
754 Bytes
metadata
title: Todo Backend API
emoji: 🚀
colorFrom: blue
colorTo: green
sdk: docker
sdk_version: '3.11'
python_version: '3.11'
app_file: app.py
pinned: false

Todo Backend API

This is a FastAPI-based backend for a todo application with authentication and task management features.

Features

  • User authentication (signup/login)
  • JWT-based authentication
  • CRUD operations for tasks
  • Secure password handling
  • Database persistence

Endpoints

  • GET / - Root endpoint
  • GET /health - Health check
  • POST /api/auth/signup - User registration
  • POST /api/auth/signin - User login
  • GET /api/tasks/ - Get user tasks
  • POST /api/tasks/ - Create new task
  • PUT /api/tasks/{id} - Update task
  • DELETE /api/tasks/{id} - Delete task