Working on a crud application using pythons asynchronous web framework, Fast API.
- Create an env folder using: python -m venv env
- Activate the virtual environment using: env\Scripts\activate
- Upgrade pip using: python -m pip install -U pip
- Install fastapi using: pip install fastapi
- Install uvicorn using: pip install uvicorn[standard]
- Install postgresql using: pip install databases[postgresql] (optional).
- Install mysql using: pip install databases[mysql]
- Optional Installation gunicorn: pip install gunicorn
- Get requirements and version using: pip freeze > requirements.txt
- Start up the application using: uvicorn main:app --reload