This is a simple backend CRUD application built with Flask in Python. It provides basic API endpoints to interact with a database, allowing for the creation, retrieval, updating, and deletion of records
- API for creating new user and post
- API for retrieving existing new user and post
- API for updating new user and post
- API for deleting new user and post
- JWT authentication for secure API access
- Python 3.12
- Flask
- SQLite
- Postman
- Flask-SQLAlchemy (for database management)
- Flask-Migrate (for database migrations)
- Flask-JWT-Extended (for handling JWT authentication)
-
Flask: A lightweight WSGI web application framework, designed to make getting started quick and easy, with the ability to scale up to complex applications.
-
Flask-SQLAlchemy: An extension for Flask that adds support for SQLAlchemy, the Python SQL toolkit. It simplifies database integration and ORM (Object-Relational Mapping).
-
SQLAlchemy: A SQL toolkit and Object-Relational Mapping (ORM) library for Python. It provides full flexibility for SQL database operations.
-
Flask-Migrate: An extension that handles SQLAlchemy database migrations for Flask applications using Alembic.
-
Flask-JWT-Extended: An extension for Flask that adds support for JSON Web Tokens (JWT) authentication. It provides secure access to API routes.
-
Click: A package for creating command-line interfaces in Python. It's used for custom Flask commands and utility scripts.
-
SQLite: A lightweight, disk-based database that doesn’t require a separate server process. It's suitable for small to medium-sized applications and is easy to set up with Flask.
Ensure you have the following installed:
- Python 3.12
- Poetry for dependency management and environment setup
This project is under construction. More features and improvements are planned for future updates.