Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 659 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 659 Bytes

FastAPI-MVC

Hope this example helps in structuring your project

What is FastAPI-MVC?

it is a templat eshows how to implement MVC(Model-View-Controller)(traditional design pattern) in FastAPI.

using raw sql query also to understand how to implement native sqlqueries in fastapi

to run just run the following command

install python if you don't have you can go to python.org

install fastapi using pip install fastapi

and you are ready to run just type

uvicorn app.views.main:app

also don't forget to add environment variables in your .env file