This project serves as a template for building a FastAPI application with features like user authentication, CRUD operations for posts, database migrations with Alembic, and more.
- User Authentication: Secure user registration and login using hashed passwords.
- Posts CRUD: Create, Read, Update, and Delete operations for posts.
- Database Migrations: Use Alembic for managing database migrations.
- API Documentation: Utilize Swagger UI and ReDoc for interactive API documentation.
- Tagged Endpoints: Organize API endpoints with tags for better categorization.
- FastAPI: FastAPI web framework.
- SQLAlchemy: SQL Toolkit and Object-Relational Mapping (ORM) for Python.
- Alembic: Database migrations for SQLAlchemy.
- uvicorn: ASGI server for running FastAPI applications.
- FastAPI OAuth: OAuth integration for FastAPI.
- PostgreSQL: Database system.
- Python 3.7+
- PostgreSQL database
- pip
-
Clone the repository:
git clone https://github.com/1Mashilo/FastAPIProject.git
Explore the API documentation using Swagger UI at http://127.0.0.1:8000/docs or ReDoc at http://127.0.0.1:8000/redoc. Contributing Feel free to contribute to the project by opening issues or submitting pull requests.