Skip to content

alcfeoh/ngx-training

 
 

Repository files navigation

Server-side rendering workshop

Slides are available at: http://bit.ly/at-ssr-workshop

How to create your own cloud environment (GitHub Codespace) for this workshop?

img_1.png

  • Then click on "Continue working in GitHub Codespaces":

img.png

  • This will fork the project into your own GitHub Codespace. Select the kind of virtual machine you want (the first option is fine):

img_2.png

  • Run npm install in the terminal. You're all set!

Running it locally

  • You can clone this repository locally if you want. Then run npm install.

List of commands used in this project

  • npm run build: Compiles our code and outputs it in the dist folder. This is a default Angular CLI command.
  • npm run serve-build-static: Runs a basic static HTTP server using the code built in the dist folder. This is a custom command to run our code without a Node.js backend server.
  • npm run serve:ssr:ngx-training: Runs the Node.js server built by Angular SSR. This commands gets added by the Angular SSR CLI schematics (ng add @angular/ssr).

About

Training files for Angular (v20+)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published