Skip to content

Instantly share code, notes, and snippets.

Guide on How to Build a Browser Game

Intro

Getting started and knowing how to structure the code in an application is one of the most difficult things for students to figure out.

Also, there might be plenty of sources available to learn about how to use a forEach loop, but finding help on how to think like a developer and write code to implement an app's features is difficult at best.

@jim-clark
jim-clark / seeds.js
Created August 7, 2017 20:41
Seed DB with Mongoose
require('./database');
var Celebrity = require('../models/celebrity');
var Movie = require('../models/movie');
Promise.all([Celebrity.remove({}), Movie.remove({})])
.then(function() {
return Celebrity.create([
{name: 'Don Johnson'},
{name: 'Harrison Ford'},

Notes for Git

  • Discuss what Git is:

    • Most popular version control system
    • A Git project, called a repository, is like a time machine for files
    • Each "commit" is like taking a snapshot of the project
  • Discuss what GitHub is:

    • Cloud storage for a repo
    • Has additional features for collaboration

Token Auth in AngularJS

Learning Objectives

Students will be able to:

  • Understand the use case of token authentication

Array Iterator Methods Walk-Through

Learning Objectives

Students Will Be Able To:
Identify the Purpose (Use Case) of Several Useful Array Iterator Methods