- start mongodb
- npm run start:dev
- when updating an objectid in a document send [] to indicate empty
- date format shouldbe "date": "2021-06-18T07:03:01.078Z"
{"type": "Type 01",
"description":"small description",
"body":"description",
"price":"5000"}
{
"first_name": "name 1",
"middle_name": "middle",
"last_name": "name 2",
"email": "[email protected]",
"mobile": "1111111111",
"occupation": "Manager",
"birthday": "2012-02-21",
"membershiptype": "Should give a membership type ID",
"address": {
"line1": "sdf",
"line2": "sdf",
"city": "sdf"
},
"nationality": {
"passport_number": "35rdfdfsdf",
"nic_number": "35rdfdfsdf"
}
}
|
|
- Developing a Secure API with NestJS: Managing Identity
- Developing a Secure API with NestJS: Managing Roles