A modern social platform built with FastAPI, SQLAlchemy, and modern frontend technologies.
- User authentication (register, login, logout)
- Post management (create, read, delete)
- User following system
- Personal message board
- Friend system
- Modern, responsive UI
- RESTful API
- JWT-based authentication
- FastAPI
- SQLAlchemy
- Pydantic
- JWT Authentication
- SQLite Database
- HTML5
- CSS3
- JavaScript
- Bootstrap 5
- Clone the repository:
git clone https://github.com/ccc-py/sayit_fastapi.git
cd sayit_fastapi
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
uvicorn main:app --reload
- Open your browser and navigate to:
http://127.0.0.1:8000
Once the application is running, you can access the API documentation at:
- Swagger UI:
http://127.0.0.1:8000/docs
- ReDoc:
http://127.0.0.1:8000/redoc
sayit/
├── app/
│ ├── __init__.py
│ ├── models.py
│ ├── database.py
│ ├── auth.py
│ └── routers/
│ ├── auth.py
│ ├── users.py
│ ├── sayits.py
│ └── wall.py
├── static/
│ ├── styles.css
│ └── app.js
├── templates/
│ ├── index.html
│ ├── login.html
│ ├── register.html
│ └── profile.html
├── main.py
├── requirements.txt
└── README.md
Feel free to open issues and pull requests!