-
Watch video on YouTube
main.py file on top level is for course intro
Blog application is on blog/ folder
Clone this repository:
git clone https://github.com/thoeunsopheara/fastapi_crash_course.git
or using ssh
git clone [email protected]:thoeunsopheara/fastapi_crash_course.git
cd fastapi_crash_course
python -m venv venv
or using virtualenv
virtualenv venv
-
on windows
venv\Scripts\activate
on mac and linux
source venv/bin/activate
-
pip install -r requirements.txt
-
uvicorn blog.main:app --reload
--reload for reload app every time .py file saved. You can start server without it.
-
Go to http://127.0.0.1:8000/docs and http://127.0.0.1:8000/redoc for your api documentation
- Email: [email protected]