Staple Recipes is a full-stack web app designed to be a modern, no-frills take on a recipe site. It aims to provide an easy-to-navigate repository of recipes that can be made with standard kitchen tools, using a set list of common pantry staples and other ubiquitous ingredients. Ingredients and their nutrition facts come from the Food Data Central (FDC), and the nutrition facts of recipes are auto calculated based on their ingredients.
Frontend: React + TypeScript with Redux and Vite as the build tool.
Backend: Node + Express
Reverse Proxy: NGINX
Deployment: AWS EC2, AWS RDS, Docker
Other Tools: Firebase Auth, Firebase Cloud Storage
Node 18.17.1
Yarn 1.22.19
Install dependencies in frontend and backend directories using yarn
-
Install PostgreSQL version 15.4 and create a database. Using docker, this can be done with
docker pull postgres
. -
Run the
combined.sql
script found in the database folder against your postgreSQL database to set up the schema, initialize the nutrient table, and insert sample data. -
Start backend server locally with
yarn start
-
Serve frontend app locally with
yarn dev