Skip to content

NtapeKnoxSiwale/BuzzBuzz-Store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MangoDB Backend for E-Commerce Website

This repository contains the backend code for an e-commerce website. The backend is built using the MangoDB database to store and manage the website's data.

Getting Started

These instructions will help you set up the project on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • MangoDB

Installation

  1. Clone the repository: git clone https://github.com/NtapeKnoxSiwale/e-commerce-backend.git
  2. Install the dependencies: yarn install
  3. Start the backend server: yarn run dev
  4. Start the frontend server: yarn start

API Endpoints

The following API endpoints are available

  • /api/v2/products: Returns a list of all products
  • /api/v2/product/new: Enter a new product
  • /api/v2/product/review: Return the product review
  • /api/v2/product/:id: Returns a single product with the specified id
  • /api/orders: Returns a list of all orders
  • /api/orders/:id: Returns a single order with the specified id
  • api/v2/order/new: Create an order

Built With

  • Node.js
  • MongoDB

Contributing

Contributions are welcome!

About

Full-Stack e-commerce store.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published