Skip to content

I had 2 targets: pass the cource and peek uv.

Notifications You must be signed in to change notification settings

thefl0ur/catapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatFact

Simple FastAPI app to display image and fact about cats.

Running app

Build

Project uses uv for managing and is targeting Python 3.13.

Sync used python packages with

uv sync --locked

Docker image

docker build -t azska/catapp .

Prebuild image can be found here

Running app

Local run

To run project execute next command

uv run fastapi <mode>

Replace <mode> with one of the following options:

  • dev
  • run

Application accepts connections on port 8000

Running docker image

docker run -d -p 8000:8000 azska/catapp

To view application go to 127.0.0.1:8000

About

I had 2 targets: pass the cource and peek uv.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors