Skip to content

super-jaba/fastapi-start-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Start Template

Use this template to do the initial setup of your FastAPI project.

Prerequisites

  • Python 3.12.7. Other versions likely work too, but it's not guaranteed.

Setting Up

All the commands are written in bash and run inside the project directory.

i. Create your new repo using this template. How to create a repository from a template?

ii. Clone the repo to your computer.

iii. To install project dependencies, run pip install -r ./requirements.txt from the project directory. requirements.txt constains the full list of libraries to be installed.

iv. Now you can perform a dry-run to make sure that the template works. Run python ./src/main.py.

v. You can set some settings like server host and port by specifying them in .env file. Refer to /src/config.py file to see the list of available parameters.

vi. Create your own modules to turn the template into your project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published