Today we will take a step into the back end, beginning to write a server.js file. You will continue to build out this file through lab 9, working with a new partner each day.
Another component of this portion of the course involves working with a static client which you have no control over. You will be able to view the source code for this client, but will not be permitted to modify it in anyway. Servers and clients are separate entities; the only relationships that exist between them are the relationships we create. This week, you will be creating those relationships.
- Warm-up exercise
- Review code challenges
- Introduction of today's code challenge topic
- Code review of lab assignment
- Node, ExpressJS, and npm
- Postman and Superagent
- Environment variables
- Code Demo
- Lab Preview
As a result of completing Lecture 6 of Code 301, students will:
- Begin to understand how the world wide web works
- Be able to explain the role of the browser and the server as components of the web request-response cycle
- Understand how to initialize a NodeJS project and use NPM packages
- Understand the basics of working with ExpressJS
- Understand how to request data from a third-party API, both within an API development environment and using an API to proxy requests
- Control their production and deployment environments
- Understand how to interact with a static client code base