☕ Café REST API
A RESTful API built with Flask and SQLAlchemy for managing café data. This API allows users to retrieve, search, add, update, and delete cafés from a SQLite database.
Designed as a backend service for café listing applications, mobile apps, or frontend integrations.
🚀 Features
📋 Get all cafés
🎲 Get a random café
🔍 Search cafés by location
➕ Add a new café
✏ Update café details (PUT)
💲 Update coffee price (PATCH)
🗑 Delete a café (API key protected)
📦 JSON-based REST responses
🛠 Tech Stack
Backend: Flask
Database: SQLite
ORM: SQLAlchemy (2.0 style with DeclarativeBase)
Language: Python 3