This repository contains the backend for a simple social media platform. It's designed to handle basic functionalities such as managing users, their posts, and likes. The data is stored in a PostgreSQL database, and the backend is built using FastAPI, SQLAlchemy, and Alembic for database migrations.
- User management
- Post creation and management
- Like functionality for posts
- FastAPI: A modern, fast web framework for building APIs with Python 3.7+.
- SQLAlchemy: SQL toolkit and ORM for Python.
- Alembic: A lightweight database migration tool for use with SQLAlchemy.
- PostgreSQL: An open source relational database.
To get a local copy up and running, follow these simple steps.
Ensure you have Python 3.7+ installed on your machine. You'll also need PostgreSQL running locally or remotely accessible.
- Clone the repo:
git clone https://your-repository-url.git cd your-repository-directory