GitXplorerGitXplorer
A

assignment-unity

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
fa8598b570e7860be20d531d797012866f1df57e

update

AAnkush263 committed a year ago
Unverified
6dd52d12df4f729fe2f6686cea3189b54c5f7100

update

AAnkush263 committed a year ago
Verified
a6e8c3d87e674d5f91e48a11153d1ba551f9a3ee

Create README.md

AAnkush263 committed a year ago
Unverified
e642b1307b22b03a05a7c659bbc88157eb86c3d0

update

AAnkush263 committed a year ago
Unverified
d9d92bbbf1d1dc3690b91cd86ee81ed5b9ff41cd

Add error controllers

AAnkush263 committed a year ago
Unverified
d13fc54889c3f65fe23be0854b722f0b8f1bd557

Add productControllers

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