Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

FastAPI-Template

Project Overview

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.

Features

  • 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.

Tech Stack

  • 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.

Getting Started

Prerequisites

  • Python 3.7+
  • PostgreSQL database
  • pip

Installation

  1. 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.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages