You can install NodeJS by downloading the latest binaries for your desired operating system from their official download page.
you can install redis uning homebrew.
run brew install redis
in terminal to install redis on your mac using homebrew, assuming you have homebrew installed.
You can learn how to install redis on Linux here
You can learn how to install redis on Windows here
- clone the repo
- change directory
- run
npm install
- run
npm start
- visit http://localhost:4040
The API expect the following Parameters:
id
of type int
email
of type string
phone
of type string
last_name
of type string
first_name
of type string
Make sure post is set to x-www-form-urlencoded
- add user (POST):
/user/add
- delete user (DELETE):
/user/delete/{id}
- get a user (GET):
/user/{id}
- update a user (PUT):
/user/update/{id}
- get all users (GET):
/users
Regards
Michael Okoh