- Clone or Pull this repository
- Run
npm install
to install all dependancies
-
Open
POSTMAN
-
Making a
GET
request, enter urllocalhost:3456
orhttps://citizenshipapp.herokuapp.com/
-
Making a
POST
request, enter urllocalhost:3456
orhttps://citizenshipapp.herokuapp.com/
with json body data{ name: "your_name", email: "your_email", country: "your_country" }
-
Making a
PATCH
request, enter urllocalhost:3456/:id
orhttps://citizenshipapp.herokuapp.com/:id
where:id
isuser id
with object data to modify, i.e name, email or country of specific user -
Making a
DELETE
request, enter urllocalhost:3456/:id
orhttps://citizenshipapp.herokuapp.com/:id
where:id
isuser id
of specific user to be deleted