This project consists of a Frontend, Backend API, and Database components that together, allows users to retrieve and display insurance policy data.
- Frontend:
HTML, CSS, JS
- Backend API:
Python, FastAPI
- Database:
Postgres
For high level overview see HLD below
- Pre-requisites
- Install Docker, or Podman (including
docker-compose
, orpodman-compose
respectively)
- Install Docker, or Podman (including
- Run
- If you are not using an ARM architecture system (i.e. Mac with Apple Silicon)
- You may need to comment out "platform: linux/arm64" in the
docker-compose.yml
file
- You may need to comment out "platform: linux/arm64" in the
docker-compose down -v
docker-compose up --build
- Confirm all 3 containers are running
- If you are not using an ARM architecture system (i.e. Mac with Apple Silicon)
- Interact with Swagger/OpenAPI docs
http://localhost:8000/docs#/
- Interact with Frontend
http://localhost:8080/