An open API service indexing awesome lists of open source software.

https://github.com/raian-shahrear/ph-lvl2-raian-assignment-2


https://github.com/raian-shahrear/ph-lvl2-raian-assignment-2

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Typescript-Express-Mongoose

## Product route endpoint:
#### To create and get data, use: "/api/products"
#### To get specific data, update and delete data, use: "/api/products/:productId"
#### To get data by querying with word, use: "/api/products?searchTerm=searched_word"

## Order route endpoint:
#### To create and get data, use: "/api/orders"
#### To get data by querying with email, use: "/api/orders?email=your_email"

## Setup .env file to run locally:
#### PORT= port_no
#### DATABASE_URL= mongodb_link

### Live link: https://ecommerce-backend-tem.vercel.app/