For whom the course is intended Intermediate JS programmers who want to use server-side JavaScript What we will teach you The basic Request/Response model in Express Routing Working with middlewares Template libraries for [...]
  • JS_EXPRESS1
  • Duration 5 days
  • 50 ITK points
  • 0 terms
  • Praha (38 500 Kč)

    Brno (38 500 Kč)

    Bratislava (1 650 €)

  • Intermediate

For whom the course is intended

  • Intermediate JS programmers who want to use server-side JavaScript

What we will teach you

  • The basic Request/Response model in Express
  • Routing
  • Working with middlewares
  • Template libraries for HTML
  • Creating and consuming REST APIs

Required Entry Level Knowledge

  • Knowledge of HTML at course level [HTMLCSS].
  • Course-level knowledge of JavaScript [JS_PROG2]

Teaching Methods

  • Expert lecture with practical demonstrations, computer exercises.

Study materials

  • Presentation of the material covered in printed or online form

Course outline

Introduction

  • HTTP
  • Node.js and createServer()
  • What is express.js
  • Development environment
  • Hello World
  • Express generator

Basic HTTP work

  • Reading a request
  • Generating and sending a response
  • Handling static files

Routing

  • Simple routing
  • Nested Routes
  • Patterns
  • Router object
  • Parametric routers
    • url query parameters
    • custom parameters (e.g. /todo/:id)

Middleware

  • Built-in middlewares
  • Custom middleware
  • Data sharing via request object
  • logging
  • error management
  • session
  • authentication/authorization
  • validation

HTML generation using template

  • Setting up the template engine
  • Pug (ex Jade)
  • Data presentation
  • Conditional and repeated rendering
  • Mixin

REST API creation

  • JSON body parser
  • CORS
  • OpenAPI

Express and Typescript

»
  • Intermediate JS programmers who want to use server-side JavaScript
  • The basic Request/Response model in Express
  • Routing
  • Working with middlewares
  • Template libraries for HTML
  • Creating and consuming REST APIs
  • Knowledge of HTML at course level [HTMLCSS].
  • Course-level knowledge of JavaScript [JS_PROG2]

Introduction

  • HTTP
  • Node.js and createServer()
  • What is express.js
  • Development environment
  • Hello World
  • Express generator

Basic HTTP work

  • Reading a request
  • Generating and sending a response
  • Handling static files

Routing

  • Simple routing
  • Nested Routes
  • Patterns
  • Router object
  • Parametric routers
    • url query parameters
    • custom parameters (e.g. /todo/:id)

Middleware

  • Built-in middlewares
  • Custom middleware
  • Data sharing via request object
  • logging
  • error management
  • session
  • authentication/authorization
  • validation

HTML generation using template

  • Setting up the template engine
  • Pug (ex Jade)
  • Data presentation
  • Conditional and repeated rendering
  • Mixin

REST API creation

  • JSON body parser
  • CORS
  • OpenAPI

Express and Typescript

Current offer
Training location
Course language

The prices are without VAT.

No term dates found, contact our client servis. Prague: +420 234 064 900-3 | Brno: +420 542 422 111