Skip to content

ronniehung/Ronnie-Hung-IS24-full-stack-competition-req97073

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BC Gov IS24 Full Stack Code Challenge

author: Ronnie Hung

Install and Run

npm run build
npm run start

Open http://localhost:3000 with your browser to see the result.

API Usage

GET products

GET all products: GET http://localhost:3000/api/products/ GET product by id: GET http://localhost:3000/api/products/1

POST a new product

POST http://localhost:3000/api/products/ with body:

{
  "productName": "Product10",
  "productOwnerName": "Lily",
  "developers": [
            "Joe",
            "John",
            "Jane",
            "Joanne",
            "Jay"
        ],
  "scrumMasterName": "Mike",
  "startDate": "2023-03-01",
  "methodology": "Scrum"
 }

PUT a product by id

PUT http://localhost:3000/api/products/1 with body:

{
 "productName": "Product1",
 "productOwnerName": "Lily",
 "developers": [
           "Joe",
           "John",
           "Jane",
           "Joanne",
           "Jay"
       ],
 "scrumMasterName": "Mike",
 "startDate": "2023-03-01",
 "methodology": "Scrum"
}

DELETE a product by id

DELETE http://localhost:3000/api/products/1

Frameworks Used

  • Next.js/React
  • Bootstrap (reactstrap)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published