Skip to content

alexander-any7/FASTAPI-blog-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Build and Deploy Flow

A blog API that handles basic CRUD operations on users, posts, and likes.

Built with:

Installation

Install with pip:

$ pip install -r requirements.txt

Environment Configurations

Create a .env file with these configurations:

DATABASE_HOSTNAME=...
DATABASE_PORT=...
DATABASE_PASSWORD=...
DATABASE_NAME=...
DATABASE_USERNAME=...
SECRET_KEY=...
ALGORITHM=...
ACCESS_TOKEN_EXPIRES_MINUTES=...

Run

uvicorn app.main:app --reload

Default port is http://127.0.0.1:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published