Skip to content

rileybestdev/RecipeManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Manager

A straightforward recipe management application featuring Create, Read, Update, and Delete (CRUD) functionality for organizing recipes by title, instructions, and ingredients.

Authors

Logo

Key Features

  • CRUD operations via Rest APIs.

  • Search and Filter capabilities based on titles and ingredients.

  • Responsive User Interface utilizing Material UI.

🛠 Technology Used

TypeScript, Node.js, Express.js, Prisma, PostgreSQL, React 18, React Hooks, React Query, Material UI, Rest API

Screenshots

App Screenshot

API Reference

Read all recipes

  GET /api/recipes
Parameter Type Description
pageNumber string Required
title string Option
filter string[] Option

Read recipe by id

  GET /api/recipes/${id}
Parameter Type Description
id string Required

Create recipe

  POST /api/recipes
Parameter Type Description
title string Required
instruction string Required
ingredients string Required e.g. "salt:5g,sugar:10g, milk:200ml, beef : 300g"

Update recipe by id

  PUT /api/recipes/${id}
Parameter Type Description
id string Required
title string Required
instruction string Required
ingredients string Required e.g. "salt:5g,sugar:10g, milk:200ml, beef : 300g"

Delete recipe by id

  DELETE /api/recipes/${id}
Parameter Type Description
id string Required

Installation and Start, Test

Install PostgreSQL and host database

If you don't use Postgres 16 (or use previous versions) please install the PostgreSQL 16 at first. (https://filehippo.com/download_postgresql/)

After installation of Postgres 16

  C:\Program Files\PostgreSQL\16\bin>pg_ctl start -D "<db_path>"

App Screenshot

To install packages, run the following command

  npm run install-all

To run test, run the following command

  npm run test-all

To run start, run the following command

  npm run start-all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors