This is a small Node.js API that returns random words upon request.
- Node.js with npm
$ npm install
$ node server
API runs at http://localhost:8084/api/.
- GET a noun (person, place, or thing):
/api/noun
- GET a noun (person/animal):
/api/noun/person
- GET a noun (place):
/api/noun/place
- GET a noun (thing):
/api/noun/thing
- GET an adjective:
/api/adjective
- GET a verb (present-tense;
-ing
):/api/verb/present
- GET a verb (past-tense;
-ed
):/api/verb/past
- GET random navigation (e.g.,
up
,down
,back
, etc.):/api/navigation
- GET a random pronoun object:
/api/pronoun
- GET a random pronoun object that is not "it":
/api/pronoun/gendered
(male
,female
) - GET a pronoun object by ID:
/api/pronoun/:id
(male
,female
,neutral
,plural
)