Skip to content

Instantly share code, notes, and snippets.

View rogerwschmidt's full-sized avatar

Roger Schmidt rogerwschmidt

View GitHub Profile

HTTP Instructor notes

  • Explain what HTTP is.
  • Explain why HTTP is important.
  • Explain what an HTTP request is.
  • Explain what an HTTP response is.
  • Send HTTP requests and receive HTTP responses for HTML.
  • Explain what JSON is.
  • Explain why JSON is useful.
  • Send HTTP requests and receive HTTP responses for JSON.

Deploying to AWS

Objectives

  • Create EC2 instance
  • Get example application from github.
  • Use SCP to transfer files to a server
  • Install node un Ubuntu
  • Start node naively
  • Install git on AWS

Javascipt Generators and Iterators

Objectives

  • What are Javascript Generators
  • Why are Javascript Generators useful
  • Use a generator to create a fibonacci sequence
  • Use a generator to create an iterator on an array like object.

What are Javascript Generators

NPM Instructor Notes

Objectives

  • Explain what NPM is.
  • Explian why NPM is useful.
  • Initialize a NPM project.
  • Describe what is stored in the package.json file and in the node_modules folder.
  • Install NPM modules.
  • Uninstall NPM modules.
  • Describe the differences between a dependency and a development depedency.

Intro to Node Instructor Notes

Objectives

  • Describe what Node.js is.
  • Explain why Node.js is important.
  • Upgrade Node.js to the latest version.
  • Run JavaScript code using the Node.js REPL.
  • Run JavaScript code using the Node.js interpreter.
  • Describe what I/O is.
  • Describe what the two ways to perform I/O are.

REST Intructor Notes

Objectives

  • Describe what REST is.
  • Explain why REST is important.
  • Create a RESTful Express server.

What is REST?

  • Clients are concerned with user interface.
  • Servers are concerned with data persistence.

Introduction to Postgres Instructor Notes

Objectives

  • Explain the difference between data and information.
  • Explain what an entity is.
  • Diagram how a server-side web applications manage information.
  • Explain what a relational database system is.
  • Explain why a relational database system so useful.
  • Explain what SQL is.
  • Explain what PostgreSQL is.

Introduction to SQL Instructor Notes

Objectives

  • Use the PostgreSQL REPL to manage tables in a database.
  • Describe the common data types in PostgreSQL and their uses
  • Query a database table with aggregate functions
  • Query a database table with comparison, logical, and mathematical operators
  • Query a database table with pattern matching
  • Query a database table with LIMIT and ORDER BY
  • Create and use a seed file to create, read, update, and delete tables, columns, and records in a database

Express and Knex Instructor Notes

Objective

  • Explain what a RESTful, database-driven HTTP server is.
  • Explain why a RESTful, database-driven HTTP server is useful.
  • Use Express and Knex to build a RESTful, database-driven HTTP server.

What is a RESTful, database-driven HTTP server?

Turn to your neighbor and discuss what a RESTful, database-driven HTTP server is. Be prepared to share your answer.

User Authentication Instructor Notes

Objectives

  • Explain what authentication is.
  • Explain why authentication is important.
  • Use bcrypt to authenticate a user.
  • Explain what a claim is.
  • Explain what a JSON Web Token is.
  • Explain why a JSON Web Token is important.
  • Create a JSON Web Token for an authenticated user.