This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *What _is_ Express middleware, anyway?* | |
| >> *Using Express Middleware:* https://expressjs.com/en/guide/using-middleware.html | |
| >> *A Simple Explanation of Express Middleware:* https://medium.com/@agoiabeladeyemi/a-simple-explanation-of-express-middleware-c68ea839f498 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *Building Blocks of Express.js:* https://www.codeschool.com/courses/building-blocks-of-express-js | |
| *Express get URL and POST params:* https://scotch.io/tutorials/use-expressjs-to-get-url-and-post-parameters | |
| *Building a RESTful API w/Node and Express:* https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP Status Codes Explained: | |
| Status Cats: https://http.cat/ | |
| Status Dogs: https://httpstatusdogs.com/ | |
| Status Comics: https://moz.com/blog/response-codes-explained-with-pictures |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Create the database movie_planner_db and specified it for use. | |
| CREATE DATABASE movie_planner_db; | |
| USE movie_planner_db; | |
| -- Create the table plans. | |
| CREATE TABLE movies | |
| ( | |
| id int NOT NULL AUTO_INCREMENT, | |
| movie varchar(255) NOT NULL, | |
| PRIMARY KEY (id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Create the database wishes_db and specified it for use. | |
| CREATE DATABASE wishes_db; | |
| USE wishes_db; | |
| -- Create the table wishes. | |
| CREATE TABLE wishes | |
| ( | |
| id int NOT NULL AUTO_INCREMENT, | |
| wish varchar(255) NOT NULL, | |
| PRIMARY KEY (id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP DATABASE IF EXISTS chirpy; | |
| CREATE DATABASE chirpy; | |
| USE chirpy; | |
| CREATE TABLE `chirps` ( | |
| `id` Int( 11 ) AUTO_INCREMENT NOT NULL, | |
| `author` VARCHAR( 255) NOT NULL, | |
| `body` VARCHAR( 255 ) NOT NULL, | |
| `created_at` DATETIME NOT NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sequelize init:config & sequelize init:models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PHP/Composer/Laravel Installation Instructions | |
| *IMPORTANT: @channel, please install PHP, Composer, and Laravel before tomorrow's class.* | |
| >> PHP installation instructions can be found in the PDF soon to follow. FYI PC users: MAMP is a good alternative to XAMPP; give it a try if you have trouble with XAMPP. | |
| >> To install Composer, Mac users should run this command in their terminal: `curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer` | |
| >> PC users should be able to download and run ‘Composer-Setup.exe’ here: https://getcomposer.org/doc/00-intro.md#installation-windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node --max-old-space-size=4096 linearSearch.js |