Skip to content

A small FastAPI app that handles User Authentication and all User use cases

Notifications You must be signed in to change notification settings

Daro007/fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Backend

Welcome to the backend repository of the FastAPI project. This repository contains the code for the backend API built using FastAPI (Python). The backend provides user authentication, user management, and JWT-based authorization.

Features

  • User registration and login with JWT-based authentication.
  • User profile management, including updating username and deleting account.
  • Secure password hashing and verification.
  • User data stored in a fake database (for demonstration purposes).

Prerequisites

  • Python 3.x
  • Docker (for local development and deployment)

Setup

  1. Clone this repository:

    git clone https://github.com/Daro007/fastapi.git
  2. Build the project with Docker

    docker build -t fastapi .
  3. Run the project with the following command

    docker run -d -p 8000:8000 fastapi

API Documentation

The API documentation can be accessed at http://localhost:8000/docs or http://localhost:8000/redoc when the backend is running.

About

A small FastAPI app that handles User Authentication and all User use cases

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published