Skip to content

Lyrid Serverless Template for Python v3.13 with FastAPI Framework

License

Notifications You must be signed in to change notification settings

LyridInc/FastAPI-Python3.13-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrid Python 3.13 FastAPI Template

We follow this directory structure: https://fastapi.tiangolo.com/deployment/docker/?#directory-structure

Set virtual environment(optional):

python -m venv venv
source venv/bin/activate

Run locally with:

pip install -r requirements.txt
fastapi dev app/main.py

Open http://localhost:8000

Edit the names (optional):

Open .lyrid-definition and change the App and Module name, because this will override another applications with the same name in the platform.

Then submit to Lyrid Platform:

lc code submit

Wait until the cloud platform to finish with the build and the default deployment.

Start hacking:

Edit the routes and codes at /main folder with your custom API.

Add more middlewares or your business logic in there.

About

Lyrid Serverless Template for Python v3.13 with FastAPI Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published