Skip to content

Repository files navigation

Task Management API

A simple User & Task management API built with FastAPI and Docker.

Features

  • User registration and login (JWT auth)
  • Create, list, delete tasks
  • easy setup with Docker
  • SQLite database

Setup & Run

You just need Docker installed.

docker-compose up --build

After running the command, go to http://localhost:8000/docs to test the API.

Project Structure

  • app/api: API Endpoints.
  • app/models: Database tables.
  • app/schemas: Pydantic models (data validation).
  • app/core: Config and security.

Tests

Run tests inside the container:

docker-compose exec web pytest

Or if you have a local venv, just run pytest.

TODO

  • Add email verification.
  • Better pagination.
  • Add PUT endpoint for tasks.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages