GitXplorerGitXplorer
A

assignment-unity

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
2f9cf6dfa9a66d496fde960755915f22a9da7ace

Add sellerControllers

AAnkush263 committed a year ago
Unverified
6668138043ee6f606f55f96b76120e6cf6ef746c

update catalogSchema

AAnkush263 committed a year ago
Unverified
3781dbfb73acd28a0721725a8f125323b9da0f5f

Add new routes to buyer routes

AAnkush263 committed a year ago
Unverified
ec83fc866847902f1002a0f05c6486e457485d4c

Add product routes

AAnkush263 committed a year ago
Unverified
7f4ac5b291a197f818c8a7086db72d8a91036b18

Add seller routes

AAnkush263 committed a year ago
Unverified
5973f08d866375ee3edf66b6b1e71b550b9968c2

Add createOrder and getCatalogBySellerId functions

AAnkush263 committed a year ago

README

The README file for this repository.

assignment-unity

Local Development

Before you started, make sure to create a mongodb server for the db.

cd project-folder
git clone https://github.com/Ankush263/assignment-unity.git
cd assignment-unity
npm i
cp .env.example .env

populate all the fields

npm start

All routes

POST /api/auth/register
POST /api/auth/login
GET /api/buyer/list-of-sellers
GET /api/buyer/seller-catalog/:seller_id
POST /api/buyer/create-order/:seller_id
POST /api/product
POST /api/seller/create-catalog
GET /api/seller/orders

Deployed url

https://assignment-unity.onrender.com