Skip to content

samimhossainsujon/typescript-Project-2

Repository files navigation

Assignment-2 -Level-2

Assignment-2 -Level-2

Instructions on how to run the application locally.

Vercel Live link:- .

    vercel open https://assignment-2-b16yave14-samimhossainsujon.vercel.app/

Clone the Project.

    git clone https://github.com/samimhossainsujon/Assignment-2-Level-2

Go to project directory

    cd the project

Install require dependance

    npm install

Run server

npm run start:dev
Then check how to work this project go to Postman
User Related Api

Create a user

 http://localhost:5000/api/users

Get all user

 http://localhost:5000/api/users

Get Single user

 http://localhost:5000/api/users/:userId

Update Single user

 http://localhost:5000/api/users/:userId

Delete Single user

 http://localhost:5000/api/users/:userId
Orders Related Api

Create order poperty of a Single user collection

 http://localhost:5000/api/users/:userId/orders

Get orders of a Single user

 http://localhost:5000/api/users/:userId/orders

Calculate Total Price of Orders for a Specific User

 http://localhost:5000/api/users/:userId/orders/total-price

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published