Skip to content

buttercak3/FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI

https://fastapi.hubi.club

https://fastapi.hubi.club/docs

Create virtual environment

  • press F1 in VS Code
  • search for Python: Create Environment
  • select interpreter

Make .ps1 executable

cd 'C:\Users\Sebi\Documents\4tes Semester\Cloud Computing\FastAPI\'
Set-ExecutionPolicy RemoteSigned

Set-ExecutionPolicy Restricted #if Activate.ps1 is no longer needed

Activate venv

#inside: FastAPI folder:
.\.venv\Scripts\Activate.ps1

#inside: FastAPI\my_app\app:
uvicorn main:app --reload #starts uvicorn server

Install python libraries

python -m install uvicorn

py -m pip freeze > requirements.txt #save all libs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published