Skip to content

LuisCaballe/grandma-cookbook-back

Repository files navigation

Grandma's Cookbook

Testing Quality Gate Status Coverage Technical Debt

Project links

Front

Back

Introduction

Grandma's Cookbook is an application that allows users to create and manage a private collection of favourite recipes, preserving their culinary heritage.

Enjoy your meal!

Visit Grandma's Cookbook

Use the following credentials for testing purposes: *

Username: admin
Password: admin

* Please note that the custom API rest is hosted on a free render.com account, so please be patient when logging in (you will have to wait about a minute).

Grandma's Cookbook mobile screenshots

Grandma's Cookbook desktop screenshot

Tech stack

Grandma's Cookbook uses the MERN technology stack, which consists of MongoDB, Express.js, React, and Node.js. And it is built using the following technologies:

Build with:

Node.js Express.js TypeScript JWT bcrypt Mongoose MongoDB

Tested with:

Jest Supertest MongoDB Memory Server

Good Practices Tools:

ESLint Husky Prettier

For a full list of dependencies and scripts used, see the package.json file.

Setup

To set up and run Grandma's Cookbook in your local environment, follow these steps:

  1. Clone this repository to your choosen local directory:

    git clone https://github.com/LuisCaballe/grandma-cookbook-back.git
    
  2. Install the dependencies:

    npm install
    
  3. Build the application:

    npm run build
    
  4. Start the application:

    npm run start
    

Endpoints

GET /

POST /user/login

GET /recipes

(The request must have a valid token)

GET /recipes/:recipeId

(The request must have a valid token)

GET /recipes?filter

(The request must have a valid token)

DELETE /recipes/:recipeId

(The request must have a valid token)

POST /recipes/add

(The request must have a valid token)

PUT /update/:recipeId

(The request must have a valid token)

For more information on endpoints, please refer to the file grandma-cookbook.postman_collection.json

Author

GitHub Badge LinkedIn Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published