No additional setup required this week. But, remember, whenever you start a new project you need to run npm install express --save
in order to install the express package for you project.
To run, simply use node step_0x.js
What is middleware? A simple explanation.
Express Guide: Writing Middleware
Express Guide: Using Middleware
Create a new Github Repository.
This week you will create a website that displays API information. You are to create an HTML form that POSTs a query to your Express backend. You are to parse this query using Express routes (like the examples you've seen in class). Then, your app should integrate with an external API (you can use anything) and display the results on the user's screen.
Here's a list of APIs You Can Use (You're welcome to use any others)
TLDR;
- Make an HTML Form
- Post Form to Express Backend
- Parse Form and Make External API Request
- Display results to user.