View Site on - http://54.252.68.234/
- Operating System - Ubuntu 22
- Language - Python - 3.11
- Dash - A python framework created by plotly for creating interactive web applications. Dash is written on the top of Flask, Plotly. js and React.
- FastAPI - It is one of the most popular Python frameworks for building APIs.
- Gunicorn - It is a popular web server used to deploy Python web apps. Typically, it's used as a WSGI server, but it's possible to combine it with Uvicorn to work as an ASGI server.
- Uvicorn - It is an ASGI web server implementation for Python. It's the recommended web server for Starlette and FastAPI.
- NGINX - It is an open-source tool with many uses. It started out as a web server but can now be used as a reverse proxy server, a load balancer, and more.NGINX is often used as a reverse proxy in front of the app's web server when working with Python web frameworks.
- Docker - ....
- Redis - ...
Create first app - https://dash.plotly.com/minimal-app
Wrap FastAPI around dash - https://github.com/rusnyder/fastapi-plotly-dash
Deployment on EC2 Ubuntu 22 - https://dylancastillo.co/fastapi-nginx-gunicorn/
python3 -m venv venv
source venv/bin/activate
python app.py
--- Write steps here ---