Nodejs-Assignment-3

 Create Http Server and two REST APIs( User API , Product API )     using express module.


End points of User API:

    GET    http://localhost:3500/users

    GET    http://localhost:3500/users/:id

    POST    http://localhost:3500/user

    PUT    http://localhost:3500/user


End points of Product API:

    GET    http://localhost:3500/products

    GET    http://localhost:3500/products/:id

    POST    http://localhost:3500/product

    PUT    http://localhost:3500/product

    

Comments

Popular posts from this blog