-
Notifications
You must be signed in to change notification settings - Fork 0
At this project you get a random response according to parameters you have passed. The response can be Chuck Norris joke, Kanye West quote or sum of letter of your name. In addition you can get the stats of all previous requests.
YonatanNechmad/surpriseMeApi
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
#surprise About this project: At this project you get a random response according to parameters you have passed. The response can be Chuck Norris joke, Kanye West quote or sum of letter of your name. In addition you can get the stats of all previous requests. Instructions: Make sure Node.js is installed on your computer. 1.Download "index.js" and "package.json" to same folder on your computer. 2.Install NPM packages by open the command-line and run "npm install". 3.Run "node index.js". Now the process is running, you can open any environment(e.g google chrome or explorer) and run your commands. You can run 2 types of command: 1- GET api/surprise The command must contain a name and date of birth. For example: http://localhost:3000/api/surprise?name=Yonatan%20Nechmad&birth_year=1994 2- GET api/stats http://localhost:3000/api/stats # written by Yonatan Nechmad # # yonatannec@gmail.com #
About
At this project you get a random response according to parameters you have passed. The response can be Chuck Norris joke, Kanye West quote or sum of letter of your name. In addition you can get the stats of all previous requests.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published