Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aelabassi/posty
Portfolio project: A fully REST API for blog posts
https://github.com/aelabassi/posty
api-documentation api-rest fastapi postgresql postman pydantic python sqlalchemy
Last synced: about 2 months ago
JSON representation
Portfolio project: A fully REST API for blog posts
- Host: GitHub
- URL: https://github.com/aelabassi/posty
- Owner: aelabassi
- Created: 2024-09-06T16:29:16.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T15:55:27.000Z (about 2 months ago)
- Last Synced: 2024-11-16T16:34:31.739Z (about 2 months ago)
- Topics: api-documentation, api-rest, fastapi, postgresql, postman, pydantic, python, sqlalchemy
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Posty: a full REST API with FastAPI and SQLAlchemy
Thi porfolio project is a full REST API with FastAPI and SQLAlchemy.
It is a simple blog API that allows users to create, read, update, and delete posts.## Features
- Create, read, update, and delete posts
- User authentication using JWT tokens
- Password hashing using bcrypt
- Dependency injection using FastAPI's Depends
- SQLAlchemy models
- Pydantic models for request and response validation
- Dockerized with a PostgreSQL database## Tools
- FastAPI
- SQLAlchemy
- Pydantic
- Docker (at the end of the project)
- PostgreSQL
- Uvicorn
- Bcrypt
- Jose (JWT tokens)
- Postman (for testing the API)
- Pytest (for testing the code)
- Unittest (along side with Pytest)## Author
EL Abassi Abderrazaq