Skip to content

Instantly share code, notes, and snippets.

Introduction to Higher-Order Methods in JavaScript

Time: ⏰ 1 hour and 15 minutes
Slides:

Objective

By the end of this lesson, fellows will be able to:

>> 1. Understand the inner workings of higher-order methods.

Intro to DSA

Time: 1 hr 30 mins - 2 hrs

📜 Slides

Link to Slides

🎯 Learning Objectives

Math Basics for Developers

Time: 1 hr 30 mins

📜 Slides

Link to Slides

🎯 Learning Objectives

Recursion

Time: 3 hrs

📜 Slides

Link to Slides

🎯 Learning Objectives

function factorial(n){

    if(n === 1) { 
        return 1
    } 
    
    return n * factorial(n - 1) 
}                  |

Modeling Mock Interview

Interviewer - Asking Phone Screening Question (2 mins) - Read Problem Statement and give example
Coding Problem

Pursuit Styling Guide


📐 Every significant project at Pursuit adheres to its unique style guide: a set of conventions that aim to create a consistent coding framework. When navigating a substantial codebase, consistency is key for comprehension and collaboration amongst students.

The term "style" encompasses aspects like "adopt camelCase for variable names" and principles like "modularize code" or "handle errors properly."

This document (Pursuit styleguide) introduces you to the stylistic standards we advocate for at Pursuit. As you code with Pursuit, you'll be referred back to this guide to ensure your code aligns with our best practices. Following these standards will help you develop good coding habits.

Here is an example from Google: Google JavaScript Style Guide

🛠️ Setting Up and Ensuring Connection with PostgreSQL via TablePlus 🛠️

💡 Introduction: Before diving into data manipulation or database administration, one needs a secure and efficient platform. TablePlus provides a user-friendly interface that simplifies the interaction with PostgreSQL databases. The steps outlined below will walk you through setting up TablePlus, connecting it to a PostgreSQL database, and ensuring everything is in place for a seamless database management experience.


📚 Summary:

Access PostgreSQL: The foundational step to verify the server's operation. Database Creation: Establish a dedicated space for data, ensuring organization.

Setting Up an Express Backend with PostgreSQL: A Step-by-Step Guide

This guide walks you through setting up an Express backend connected to a PostgreSQL database, creating a table, seeding it, and testing endpoints with Tableplus.


1. Initial Project Setup

Why? Every project starts with an initial setup. This step creates the project structure and installs necessary packages.

Backend Setup:

  1. Import Necessary Modules: Start by importing the required libraries at the top of your server.js or your main application file.

    const express = require('express');
    const bodyParser = require('body-parser');
    const { Pool } = require('pg');