Skip to content

Web application for recipe management based on PostgreSQL, FastAPI and React.

Notifications You must be signed in to change notification settings

wojtek-rz/db-course-fastapi-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipes postgres app

Project for "Databases" course at the University of Warsaw.

Deployment

Project is fully dockerized and deployed. Frontend and backend is deployed on Google Cloud Run. One of the benefits of using Cloud Run is that it offers a pay-per-use pricing model, which means that you are only charged for the number of requests your application receives. Database is deployed on Fly Postgres, which offers free quota for small projects.

Running locally

Prerequisites

Running

  1. Clone the repository
  2. Run docker compose up in the root directory
  3. Backend will be available at localhost:8000, frontend at localhost:3000.

Project structure

.
├── backend         # Backend code
├── database        # Database configuration and data source
├── docker-compose.yml  # Docker compose configuration
├── docs            # Backend documentation (sql models, etc.)
├── .env            # Environment variables for docker compose for postgres db and backend
├── frontend        # Frontend code
└── README.md