This is a depressing REST API made with the NODE v8, without the usage of external libraries (e.g. npm/yarn)
This application requires node v8+ only.
node index.js
curl http://localhost:3000
Method | Route | Description | Response body |
---|---|---|---|
GET | / | ping the api | { message: String } |
POST | /hello | greetings | { message: String } |
MIT
Inspirational quotes for shaping Marvin's personality https://www.goodreads.com/quotes/tag/marvin