Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alokshandilya/social-api
Social Media Rest API project with FastAPI
https://github.com/alokshandilya/social-api
alembic fastapi postgresql pydantic rest-api
Last synced: about 2 months ago
JSON representation
Social Media Rest API project with FastAPI
- Host: GitHub
- URL: https://github.com/alokshandilya/social-api
- Owner: alokshandilya
- Created: 2024-08-09T02:43:28.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T15:07:00.000Z (3 months ago)
- Last Synced: 2024-09-11T22:40:48.754Z (3 months ago)
- Topics: alembic, fastapi, postgresql, pydantic, rest-api
- Language: Python
- Homepage: https://socialsyncapi.vercel.app/docs
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social Media REST API
## Description
This is a REST API built with FastAPI with testing using Pytest and CI/CD using Github Actions.
- API **Documentation** with _Swagger UI_.
- [**documentation**](https://socialsyncapi.vercel.app/docs)
- Users can register and login using **JWT**.
- Users can create, read, update, and delete posts (_some operations require authentication_).
- Users can vote on posts.## Models
- **posts** (`id`, `title`, `owner_id`, `content`, `published`, `created_at`)
- **users** (`id`, `email`, `password`, `created_at`)
- **votes** (`user_id`, `post_id`)## Tech Stack
- **FastAPI**
- **PostgreSQL**
- _SQLAlchemy_
- _Pydantic_
- _Alembic_