Skip to content

Repository for the back-end application of the smartCART capstone project, managing data storage, retrieval, and functionality for price comparison.

Notifications You must be signed in to change notification settings

capstone-team-5/SmartCart-backend

Repository files navigation

$mrtCART Backend

Welcome to the $mrtCART backend application! This backend is designed with one core mission: to cater to the needs of shoppers who are seeking an effortless way to compare prices. Our backend empowers users to make informed purchasing decisions by providing them with a seamless and convenient experience when it comes to comparing prices for their desired products.

The Concept

At the heart of $mrtCART lies a simple yet powerful idea: making price comparison a breeze for shoppers. The main logic of the application revolves around a user-friendly process that begins with users selecting their desired location and entering their grocery list. Once the grocery list is entered, the magic of the $mrtCART backend comes into play.

Table of Contents


Team Members

Meet the fantastic minds behind $mrtCART:


Installation

Getting started with the $mrtCART backend is a breeze:

  1. Fork and Clone the repository using the following command:

    git clone <https://github.com/capstone-team-5/SmartCart-backend>
    
  2. Navigate to the project directory and install the dependencies using the following command:

    `cd` into this repository
    npm install
    
  3. Create a .env file in the root directory and add the following environment variables:

    PORT=<4444>
    
  4. Start the server using the following command

    npm run dev
    

Available Endpoints

Explore the following endpoints to interact with the $mrtCART backend:

Method Endpoint Description
GET /products Get all products
GET /products/:id Get a product by ID
GET /stores Get all stores
GET /stores/:id Get a store by ID
GET /reviews Get all reviews
GET /reviews/:id Get a review by ID
POST /reviews Create a new review
PUT /reviews/:id Update a user review
DELETE /reviews/:id Delete review from product

🍓🛒🛍🍓 Feel free to explore these endpoints to manage products, stores, and reviews for an enhanced shopping experience! 🍓🛒🛍🍓


About

Repository for the back-end application of the smartCART capstone project, managing data storage, retrieval, and functionality for price comparison.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published