Skip to content

CSSE6400/2026-p1-mblauberg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Codespaces

CSSE6400 Week 1 Practical — Todo API

A simple REST API for managing todo items, built with Flask and Python.

Requirements

Setup

poetry install --no-root

Running

poetry run flask --app todo run -p 6400

The API is available at http://localhost:6400/api/v1.

Endpoints

Method Path Description
GET /api/v1/health Health check
GET /api/v1/todos List all todos
GET /api/v1/todos/<id> Get a todo
POST /api/v1/todos Create a todo
PUT /api/v1/todos/<id> Update a todo
DELETE /api/v1/todos/<id> Delete a todo

Testing

poetry run python3 -m unittest discover -s tests

About

csse6400-2026-p1-starting-an-api-practical01 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 56.6%
  • Shell 43.4%