Skip to content

ccc-py/sayit_fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SayIt - A Social Platform

A modern social platform built with FastAPI, SQLAlchemy, and modern frontend technologies.

Features

  • 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

Tech Stack

Backend

  • FastAPI
  • SQLAlchemy
  • Pydantic
  • JWT Authentication
  • SQLite Database

Frontend

  • HTML5
  • CSS3
  • JavaScript
  • Bootstrap 5

Installation

  1. Clone the repository:
git clone https://github.com/ccc-py/sayit_fastapi.git
cd sayit_fastapi
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
uvicorn main:app --reload
  1. Open your browser and navigate to:
http://127.0.0.1:8000

API Documentation

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

Project Structure

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

Contributing

Feel free to open issues and pull requests!