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
- Host: GitHub
- URL: https://github.com/raian-shahrear/ph-lvl2-raian-assignment-2
- Owner: raian-shahrear
- Created: 2024-05-21T06:21:29.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T17:20:57.000Z (12 months ago)
- Last Synced: 2025-02-06T19:48:07.300Z (3 months ago)
- Language: TypeScript
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/