Application created for Mid Module Assessments for Module 3 of the Turing School
Install dependencies:
npm install
Start the server:
node index.js
Visit on localhost:3001
Run the tests:
npm test
Returns a list of all events
Returns the specified event including tags generated based on the description.
-
Parameters:
- name: (required) - the name of the event
- description: (required) - the description of the event
-
Body Content:
- You must pass in a full question object like so:
{
"name": "Try Coding Weekend",
"description": "Are you interested in learning how to code, but not sure if it's right for you? Try Coding is a two-day program from the Turing School that will expose you to the basics of programming."
}
- Response:
- Will return an object representing an event
{
"name": "Try Coding Weekend",
"description": "Are you interested in learning how to code, but not sure if it's right for you? Try Coding is a two-day program from the Turing School that will expose you to the basics of programming.",
tags: [
"code",
"coding",
"school",
"programming"
],
id: "a4ecf540-3b73-11e7-bb1a-655977479ad2"
}