Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python REST API (FastAPI, SQLAlchemy, PostgreSQL)

Restore postgresql database from /database folder

Install dependencies:
pip install -r requirements.txt

Setting database connection on main.py

API_HOST = 'localhost'
API_DATABASE = 'wo'
API_DBUSER = 'postgres'
API_DBPASSWORD = 'awizindo'
API_DBPORT = '5432'

Running:
uvicorn main:app --reload

Running using custom port:
uvicorn --port 8000 --host 127.0.0.1 main:app --reload

--reload to make server automatically reload if any update.

Auto Generate Documentation and Web Testing: http://127.0.0.1:8000/docs



Regards
Ari Abimanyu

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages