- clone repository
- run
npm i
- run
npm start
- enjoy!
curl -X POST \
http://localhost:3030/apis/users \
-H 'Content-Type: application/json' \
-d '
{
"firstName": "Michael",
"lastName": "Sui",
"isActive": true,
"profile": {
"about": "About Trees and Me",
"education": "Tree School",
"career": "Lumberjack"
},
"address": {
"streetAddress": "4220 Network Cir",
"city": "Santa Clara",
"state": "CA",
"zipCode": 95054
},
"photos": [
{
"url": "me-and-trees.jpg",
"description": "Me and Trees",
"size": 100
},
{
"url": "me-and-chakram.jpg",
"description": "Me and Chakram",
"size": 200
}
]
}
'
curl -X GET \
http://localhost:3030/apis/users \
-H 'Accept: */*'