LogoLogo
Class SchedulesOfficial WebsiteMigraCode SyllabusHow to teach tech
  • 👩‍🏫Welcome to the MigraCode Volunteer Guide
  • General information
    • ℹ️About MigraCode
    • 🖱️Working with our students
    • 👥Volunteering roles
      • Teaching volunteer roles
      • Mentoring volunteer roles
      • Slack volunteer roles
  • Teaching instructions
    • 🖥️Basic computer literacy
      • Lesson 1: Introduction and Browser
      • Lesson 2: More browsing and Internet
      • Lesson 3: Mail and a taste of Drive
      • Lesson 4: Google Docs
      • Lesson 5: Google sheets
      • Lesson 6: Google slides
    • 👩‍💻Web development
      • Class Example
      • Teaching instructions
        • Introduction
          • 1 - Terminal and Visual Code
          • 2 - Git and Github
        • HTML/CSS
          • 1 - Semantic HTML and CSS
          • 2 - Responsive Web and layout
          • 3 - Bootstrap
        • JavaScript I
          • 1 - Hello Javascript
          • 2 - Expressions and loops
          • 3 - Arrays and callbacks
        • Javascript II
          • 1 - Javascript in the browser
          • 2 - Objects
          • 3 - Introduction to APIs
        • Javascript III
          • 1 - HTTP Protocols and ES6
          • 2 - Workshop Part 1
          • 3 - Workshop Part 2
        • React
          • 1 - Hello React
          • 2 - Reacting to changes
          • 3 - Fetching Data
        • NodeJS
          • 1 - Node and Express 101
          • 2 - APIs in Node
          • 3 - Workshop
        • Databases
          • 1 - Introduction to SQL
          • 2 - SQL with Node
          • 3 - CRUD with SQL and Node
    • 🛠️Professional Skills
      • Module 1: Soft skills
      • Module 2: Employability
      • Module 3: Working in projects
  • Useful Links
  • Class Schedules
  • Official Website
  • MigraCode Syllabus
  • How to teach tech
Powered by GitBook
On this page
  • Module Introduction
  • Learning Objectives
  • Lessons

Was this helpful?

Export as PDF
  1. Teaching instructions
  2. Web development
  3. Teaching instructions

NodeJS

Module Introduction

Learning Objectives

  • Define what an API is used for

  • Use npm to start a node server

  • Explain what express is and what it is used for

  • Use express to create an API that will accept a GET request that returns JSON

  • Implement routing to return different resources depending on URL

  • Implement query params to return different content (?query=ses)

  • Define what each part of CRUD is and what it does

  • Process a GET request using Express and Node to retrieve data from memory

  • Process a POST request using Express and Node and store data in memory

  • Process a DELETE request using Express and Node to remove data from memory

  • Install a third party library using npm

  • Introduce Express Middleware and why it is used.

  • Implement Authentication using JSON web tokens or OAuth 2.0 Authentication framework.

Lessons

Previous3 - Fetching DataNext1 - Node and Express 101

Last updated 3 years ago

Was this helpful?

👩‍💻
1 - Node and Express 101
2 - APIs in Node
3 - Workshop