Introducing a full-fledged eCommerce API solution, built using Node.js, is a one-stop for all your eCommerce needs. With a user-friendly interface and seamless integration, this API is designed to help you effortlessly manage your online store. From product management to payment processing, this API provides an all-in-one solution that will take your eCommerce business to the next level.
- User Authentication
- User Management
- Product Management
- Cart Management
- Order Management
- Payment Gateway Integration
- Clone the repo
git clone https://github.com/ayusshrathore/ecommerce-api.git
- Install NPM packages
npm install
or
yarn install
PORT=8080
MONGO_URI=mongodb://localhost:27017/ecommerce
JWT_SECRET=your_jwt_secret
- Run the server
npm start
http://localhost:8080/api/v1/user/login
{
"email": "[email protected]",
"password": "123456"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/register
{
"firstName": "Ayush",
"lastName": "Rathore",
"email": "[email protected]",
"phone": "123456789",
"password": "123456"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/update
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiMTIzNDU2Nzg5IiwiaWF0IjoxNjU1ODA4NDcyLCJleHAiOjE2NTU4OTQ4NzJ9.t714_A7DccbFEyyf7DcqK7HU6RQm4l0RKSlDcq_73GU |
{
"firstName": "Ayush",
"lastName": "Rathore",
"email": "[email protected]",
"phone": "987654321"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/update/address
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiMTIzNDU2Nzg5IiwiaWF0IjoxNjU1ODA4NDcyLCJleHAiOjE2NTU4OTQ4NzJ9.t714_A7DccbFEyyf7DcqK7HU6RQm4l0RKSlDcq_73GU |
{
"email": "[email protected]",
"house": "007",
"street": "Durga Colony",
"city": "Jodhpur",
"state": "Rajasthan",
"pincode": "342012"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/delete
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTA3NDJjMjNjOWU0ZDFjNTc2ZGQ3ZiIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzY0NTkxMiwiZXhwIjoxNjUzNzMyMzEyfQ.gNSzwrFa6SeXXjLksV3wmoFKsf8qZxnqiZeOzGkllog |
Param | value |
---|---|
access-token |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/get
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiMTIzNDU2Nzg5IiwiaWF0IjoxNjU1ODA4MTcyLCJleHAiOjE2NTU4OTQ1NzJ9.rFtOLgFVMUmEkrKRQZT7YQMphVyKW2XjVnpoePI4pTg |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/blog/add
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTA3NDJjMjNjOWU0ZDFjNTc2ZGQ3ZiIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzYzNDExMCwiZXhwIjoxNjUzNzIwNTEwfQ.KuNGAtKRg9Jh41EBHwRHOV_2uKVcB58z_oNhPTUi1fo |
Param | value | Type |
---|---|---|
title | Blog title | text |
content | Blog content | text |
image | /home/freaker/Pictures/Ayush.jpg | file |
description | Blog description | text |
category | Blog category | text |
author | Freaker | text |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/blog/add
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTA3NDJjMjNjOWU0ZDFjNTc2ZGQ3ZiIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzY0NTkxMiwiZXhwIjoxNjUzNzMyMzEyfQ.gNSzwrFa6SeXXjLksV3wmoFKsf8qZxnqiZeOzGkllog |
{
""
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/product/add
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTFkNDFmMDMzNzMyM2U4OGZjY2NhZCIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzcyNDIxOCwiZXhwIjoxNjUzODEwNjE4fQ.p-9VhzhRT5_q_2R1cXG-MfgCD2A4CyNoxZiDP3ITYHk |
Param | value | Type |
---|---|---|
image | /home/freaker/Pictures/Ayush.jpg | file |
name | Product 2 | text |
price | 200 | text |
description | Product 2 description | text |
category | Category 2 | text |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/product/delete?_id=6290c9741847935bb3b462d8
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTA3NDJjMjNjOWU0ZDFjNTc2ZGQ3ZiIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzYzNDExMCwiZXhwIjoxNjUzNzIwNTEwfQ.KuNGAtKRg9Jh41EBHwRHOV_2uKVcB58z_oNhPTUi1fo |
Param | value |
---|---|
_id | 6290c9741847935bb3b462d8 |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:3000/api/v1/products?limit=15
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTFkNDFmMDMzNzMyM2U4OGZjY2NhZCIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzcyNDIxOCwiZXhwIjoxNjUzODEwNjE4fQ.p-9VhzhRT5_q_2R1cXG-MfgCD2A4CyNoxZiDP3ITYHk |
Param | value |
---|---|
limit | 15 |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/mail/send
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyOTA3NDJjMjNjOWU0ZDFjNTc2ZGQ3ZiIsIm5hbWUiOiJGcmVha2VyIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsImlzQWRtaW4iOnRydWUsImlhdCI6MTY1MzY0NTk1NCwiZXhwIjoxNjUzNzMyMzU0fQ.pydKZCyOsgjE2zUwSNG1vyGY9FdJSRm0No2PL_rXuj0 |
{
"email": "[email protected]",
"name": "Ayush Rathore"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/customer/add
{
"name": "John Doe",
"email": "[email protected]",
"phone": "123456789"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/admin/register
{
"name": "Freaker",
"email": "[email protected]",
"password": "123456"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/user/get
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTg3NjU0MzIxIiwiaWF0IjoxNjU1ODEzNTU0LCJleHAiOjE2NTU4OTk5NTR9.6jk-QlD1seZQuCHbgjx9Rtl2_RlhHbXT3vowhRBbONA |
{
"email": "[email protected]"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/cart/add
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNjMwMywiZXhwIjoxNjU1OTkyNzAzfQ.m2_aNRd3K_5zOkdl98yj5ZmYKkl76sxNT-eun6fmbBA |
{
"name": "Henna",
"price": "250",
"category": "Herbal",
"quantity": 1,
"userId": "[email protected]",
"id": "1"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/cart/update
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNjMwMywiZXhwIjoxNjU1OTkyNzAzfQ.m2_aNRd3K_5zOkdl98yj5ZmYKkl76sxNT-eun6fmbBA |
{
"id": "62aec60a9518dc5197404c39"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/cart/delete
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNjMwMywiZXhwIjoxNjU1OTkyNzAzfQ.m2_aNRd3K_5zOkdl98yj5ZmYKkl76sxNT-eun6fmbBA |
{
"id": "1"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/cart/getAll
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNzEwMCwiZXhwIjoxNjU1OTkzNTAwfQ.G2NgC2gpZHa5ljy9FAfsiTMjW0oojPhREVkdxQ4PAUw |
Param | value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNzEwMCwiZXhwIjoxNjU1OTkzNTAwfQ.G2NgC2gpZHa5ljy9FAfsiTMjW0oojPhREVkdxQ4PAUw |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/cart/remove
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NTkwNzE4MSwiZXhwIjoxNjU1OTkzNTgxfQ.jH-BFiwPDlBxbyEVd9seorFunp2-_rF2aSFC9Qq1lgk |
{
"id": "62b320a50521d6f236d809fa"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/payment/verify
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NjA2ODM5MSwiZXhwIjoxNjU2MTU0NzkxfQ.VAy-XS9AcP5xNh4Wi4LhfjLpy0-VuCiBJX1Mc8saFLg |
{
"razorpay_order_id": "order_JlbstvXZZJCiLI",
"razorpay_payment_id": "pay_JlbtK1nfACKN9Z",
"razorpay_signature": "a94fadc9fde88d9ccf3aa5766f7cf2b4808c287d53a6401f830ea1aace56337d"
}
Param | value | Type |
---|
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/payment/create
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NjA2ODM5MSwiZXhwIjoxNjU2MTU0NzkxfQ.VAy-XS9AcP5xNh4Wi4LhfjLpy0-VuCiBJX1Mc8saFLg |
{
"amount": "500",
"currency": "INR",
"receipt": "receipt_bhumija_1"
}
Param | value | Type |
---|
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/order/create
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NjE2NjE5NCwiZXhwIjoxNjU2MjUyNTk0fQ.j-qTr12FHcJFQPW_gJFgXFxawy3LAwcwEo2ckjydWsU |
{
"name": "Henna",
"price": "250",
"category": "Herbal",
"quantity": 1,
"userId": "[email protected]",
"productId": "1",
"user": "Ayush Rathore",
"phone": "9413503230",
"address": {
"house": "1",
"street": "Durga Colony",
"city": "Jodhpur",
"state": "Rajasthan",
"pincode": "342001"
},
"orderId": "62b71740814034c3f953008e"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/order/get
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NjE2NjE5NCwiZXhwIjoxNjU2MjUyNTk0fQ.j-qTr12FHcJFQPW_gJFgXFxawy3LAwcwEo2ckjydWsU |
{
"userId": "[email protected]"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/order/cancel
|
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYyYjFhMDk2YzA5MTdlZTEzYWZhOWQ5OSIsImZpcnN0TmFtZSI6IkF5dXNoIiwibGFzdE5hbWUiOiJSYXRob3JlIiwiZW1haWwiOiJoZXlmcmVha2VyQGdtYWlsLmNvbSIsInBob25lIjoiOTQxMzUwMzIzMCIsImlhdCI6MTY1NjE2NjE5NCwiZXhwIjoxNjU2MjUyNTk0fQ.j-qTr12FHcJFQPW_gJFgXFxawy3LAwcwEo2ckjydWsU |
{
"orderId": "62b71740814034c3f953008e"
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
http://localhost:8080/api/v1/auth
Content-Type | Value |
---|---|
access-token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImhleWZyZWFrZXJAZ21haWwuY29tIiwiaWQiOiI2MmJmMTYwMjk0OWQ0ZDJmMjc1YmFkYmMiLCJjb2xsZWN0aW9uIjoidXNlcnMiLCJpYXQiOjE2NTY4NTgxNTUsImV4cCI6MTY1NzQ2Mjk1NX0.waeGCtbjl4W3tM5pHdIGygj9LnSEpeh0i0taN_6iYl4 |
Field | Type |
---|---|
_id | ObjectId |
firstName | String |
lastName | String |
String | |
phone | String |
address | addressSchema |
password | String |
createdAt | Date |
updatedAt | Date |
deletedAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
name | String |
String | |
password | String |
createdAt | Date |
updatedAt | Date |
deletedAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
name | String |
String | |
phone | String |
createdAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
house | String |
street | String |
city | String |
state | String |
pincode | String |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
title | String |
content | String |
image | String |
mimeType | String |
description | String |
category | String |
tags | [String] |
author | userSchema |
createdAt | Date |
updatedAt | Date |
deletedAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
name | String |
price | Number |
image | String |
description | String |
category | String |
mimeType | String |
tags | [String] |
quantity | Number |
createdAt | Date |
updatedAt | Date |
deletedAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
id | String |
productId | String |
name | String |
price | Number |
image | String |
category | String |
quantity | Number |
userId | String |
createdAt | Date |
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
Field | Type |
---|---|
_id | ObjectId |
productId | String |
name | String |
amount | Number |
image | String |
category | Date |
quantity | Number |
user | userSchema |
status | String |
status | Date |
deliveredOn | Date |
createdAt | Date |
- @aaaravv for contributing to the docs.
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.