- Name: Wanda McCrae
- Date: February 2024
A FastAPI backend that fetches randomly generated users from the Random User Generator API and saves them to a PostgreSQL database.
How to use this application locally using Docker:
- Clone this repository to your local machine.
- CD into the new directory.
- Run docker volume create fastapidemo-data.
- Run docker-compose build --no-cache.
- Run docker-compose up.
If you are using Docker Desktop, you can interact with the containers in that application. To interact with the FastAPI container from the terminal:
- Run docker exec -it random-user-demo-fastapi-1 bash.
After the application is running locally, you can interact with the application's documentation in your web browser.