This project is based on the Flask Web Application Tutorial by Tech With Tim.
The original application is a web-based note-taking system with user authentication.
This project enhances the original application by adding a REST API feature that allows full CRUD operations on notes using JSON.
- User registration and login system
- Create, view, and delete notes through a web interface
- SQLite database integration
- Flask-Login authentication system
A RESTful API was implemented to manage notes without using the frontend.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/notes | Create a new note |
| GET | /api/notes | Retrieve all notes |
| GET | /api/notes/ | Retrieve a single note |
| PUT | /api/notes/ | Update a note |
| DELETE | /api/notes/ | Delete a note |
Request:
{
"data": "My first API note"
}