Skip to content
Back to search

adk-todo-app

Learning Google ADK agents created an agent called a coding agent, which coded this application and is pushing the code to GitHub remotely via MCP servers.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dludhani-max--adk-todo-app/badge.svg)](/listings/dludhani-max--adk-todo-app)

HTML

<a href="/listings/dludhani-max--adk-todo-app"><img src="/api/listings/dludhani-max--adk-todo-app/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. **Clone the repository** (or navigate to project directory). 2. **Create and activate a virtual environment**:

   python -m venv .venv
   source .venv/bin/activate  # On Windows: .venv\Scripts\activate

3. **Install dependencies**:

   pip install -r requirements.txt

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 51 lines
  1. # FastAPI Todo App with SQLite & Vanilla JS UI
  2. A lightweight FastAPI todo application backed by SQLite with a responsive plain JavaScript frontend.
  3. ## Features
  4. - **Full Todo CRUD Operations**: Create, list, retrieve, update, delete, and toggle todo items.
  5. - **SQLite Database**: Persistent SQLite storage with configurable database path via the `DB_PATH` environment variable.
  6. - **Vanilla JS Frontend**: Clean single-page application served directly from `/` with strikethrough styling for completed items.
  7. - **Isolated Testing**: Comprehensive pytest suite using temporary SQLite databases for total test isolation.
  8. ## API Endpoints
  9. - `GET /` — Serves the frontend web app (`static/index.html`).
  10. - `GET /todos` — Returns all todo items.
  11. - `POST /todos` — Creates a new todo item. Expects JSON `{ "title": "...", "description": "...", "completed": false }`.
  12. - `GET /todos/{id}` — Returns a specific todo by ID (404 if not found).
  13. - `PUT /todos/{id}` — Updates a todo by ID (404 if not found).
  14. - `DELETE /todos/{id}` — Deletes a todo by ID (404 if not found).
  15. - `PATCH /todos/{id}/toggle` — Flips the `completed` status of a todo by ID (404 if not found).
  16. ## Setup
  17. 1. **Clone the repository** (or navigate to project directory).
  18. 2. **Create and activate a virtual environment**:
  19. ```bash
  20. python -m venv .venv
  21. source .venv/bin/activate # On Windows: .venv\Scripts\activate
  22. ```
  23. 3. **Install dependencies**:
  24. ```bash
  25. pip install -r requirements.txt
  26. ```
  27. ## Running the App
  28. Start the server using Uvicorn:
  29. ```bash
  30. uvicorn app:app --reload --port 8001
  31. ```
  32. Open your browser and navigate to `http://127.0.0.1:8001/` to use the app.
  33. ## Running the Tests
  34. Run tests with `pytest`:
  35. ```bash
  36. pytest
  37. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.