Skip to content

djccnt15/fastapi_board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Board Service Backend with FastAPI

FastAPI 기반 게시판 서비스 Backend 서버

Requirements

  • Python 3.11
    • check requirements directory for third-party packages
  • MariaDB 11.1
  • Redis 6.2
  • Grafana
  • Prometheus
  • ELK

Memo

  • commends for running FastAPI dev server
fastapi dev main.py
  • commends for running uvicorn server for debugging
main.py

Migration with Alembic

  • initialize alembic
alembic init migrations
  • create revision
alembic revision --autogenerate
  • run migration to latest revision
alembic upgrade head

Docker

  • Dockerfile build
docker build -t fastboard .
  • Docker container run
docker run -itd -p 8000:8000 --name fastboard fastboard

About

FastAPI 기반 게시판 서비스 Backend 서버

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published