Skip to content

Instantly share code, notes, and snippets.

View matt-winzer's full-sized avatar

Matt Winzer matt-winzer

  • IndigoAG
  • Denver, CO
View GitHub Profile

Server & Database Master Setup

Prerequisites

  • Node & NPM
  • PostgreSQL
  • Knex.js

Initial Setup

  • Create a GitHub repo
  • Clone the repo and cd into it
@matt-winzer
matt-winzer / warmup-express-error-handling.md
Last active November 1, 2018 21:00
Warmups from g99 Block 3

Async/Await vs. Promises: Syntax

#async-await #promises

Quick examples to compare & contrast syntax for async/await vs. promise chains.

GET Request

Async/await:

class App extends React.Component {

Node/Express/Knex/Postgres Backend Setup

Instructions for setting up a node & express server with a postgresql database using knex as a query builder.

Initial Setup

Capstone Project Proposal

Please complete this project proposal thoroughly so that your instructors can review it and have an intelligent conversation with you about requirements, scope, feasiblity, etc. Proposals will be due by the end of day on Friday before capstones start. If you don't have your idea fully fleshed out, complete the portions of this you can so that an instructor can help you flesh out the rest of your idea.

Project Description

Deploying a Node.js Server on Heroku

This procedure assumes you have created a Node.js server, with a postgresql database, and have used Knex.js to handle your migrations and seeds.

Technologies Used

  • Node.js
  • Knex.js
  • Postgresql
  • Heroku

Lightning Talks

Quick hits on how to facilitate lightning talks for Denver WDI.

Format

  • 2 students will present back to back
  • 8 minutes each
  • Start at ~ 3:45pm
  • Time for questions after each presentation