https://github.com/muradisazade777/notenest
A clean and minimal Python backend for creating, reading, updating, and deleting notes. Data is stored in a local JSON file. Built with Flask, this project is perfect for learning RESTful API design and file-based persistence.
https://github.com/muradisazade777/notenest
api backend backend-api json libary modules python service token
Last synced: 7 months ago
JSON representation
A clean and minimal Python backend for creating, reading, updating, and deleting notes. Data is stored in a local JSON file. Built with Flask, this project is perfect for learning RESTful API design and file-based persistence.
- Host: GitHub
- URL: https://github.com/muradisazade777/notenest
- Owner: MuradIsazade777
- Created: 2025-09-27T15:31:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-09-28T07:56:21.000Z (7 months ago)
- Last Synced: 2025-09-28T09:23:53.609Z (7 months ago)
- Topics: api, backend, backend-api, json, libary, modules, python, service, token
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐งพ NoteNest
**NoteNest** is a lightweight and modular Python backend for managing notes via RESTful APIs. Built with Flask and powered by JSON file storage, it offers a clean and scalable foundation for note-taking applications, prototypes, or backend learning projects.
---
## ๐ Features
- ๐ง Create, read, update, and delete notes via RESTful endpoints
- ๐ Stores data locally in a structured `notes.json` file
- ๐งฉ Modular architecture with clear separation of models, services, and utilities
- ๐ Easy to test and extend with new features or database integrations
- ๐งช Optional unit tests for core logic.
---
## ๐ Project Structure
```bash
NoteNest/
โโโ app.py # Flask server and route registration
โโโ notes.json # Local JSON file for storing notes
โโโ models/ # Note schema and data structure
โ โโโ note.py
โโโ services/ # Business logic: create, read, update, delete
โ โโโ note_service.py
โโโ utils/ # JSON file helpers: read/write operations
โ โโโ file_handler.py
โโโ tests/ # Unit tests (optional)
โ โโโ test_notes.py
โโโ requirements.txt # Python dependencies
```
๐ก API Endpoints
POST /notes
Create a new note.
Request:
```
json
{
"title": "First Note",
"content": "This is my first note"
}
```
Response:
```
json
{
"id": 1,
"title": "First Note",
"content": "This is my first note"
}
```
GET /notes
Retrieve all notes.
Sample Response:
```
json
[
{
"id": 1,
"title": "First Note",
"content": "This is my first note"
}
]
```
** GET /notes/
** Retrieve a specific note by ID.
** PUT /notes/
** Update an existing note.
** DELETE /notes/
** Delete a note by ID.
---
โ๏ธ Getting Started
1. Clone the repository
```bash
git clone https://github.com/yourusername/notenest.git
cd notenest
3. Install dependencies
bash
pip install -r requirements.txt
4. Run the server
bash
python app.py
Server will start at http://localhost:5000
```
๐ง Technologies Used
Python 3.x
Flask
JSON file storage
๐ Notes
This project is ideal for:
Backend learners exploring RESTful APIs
Quick prototyping without database setup
Extending into full-stack apps with React, Vue, or mobile frontends.
โจ Author
Murad โ Full-stack developer & system architect GitHub: @MuradIsazade777