Add REST API blog example with full CRUD and unit tests

This commit is contained in:
lowiee0812 2025-06-03 20:28:43 +08:00
parent a5f9742398
commit 6f54c4a1f6
3 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# REST API Blog Example (Flask)
This is a simple Flask REST API example added inside the Flask repo fork for the IT6 Final Drill.
## Features
- Full CRUD operations for blog posts (id, title, content)
- Proper error handling and HTTP status codes
- Unit tests with 100% coverage (using unittest)
## How to run
1. Install dependencies (preferably in a virtual environment):
```bash
pip install flask