-
'/api'
API Homepage
-
'/api/users'
Returns information about all existing users
-
/api/user/id=value
Returns information about an user with matching id. Replace value with desired id.
-
/api/user/name=value
Returns information about an user with matching id. Replace value with desired name.
-
Install dependencies of the SimpleAPI
npm i
-
Run expressApp.js
node expressApp.js
PS: If you want to run the server at different port than 3000, create a
.env
file and add an entryPORT=<port-number>