angular ssr

Angular 13 Example Server side rendering SSR

84
39
JavaScript

Angular 17 Example SSR

An Angular starter kit featuring Angular 17.2.3, Angular CLI 17.2.2

it’s part of a repo series designed to create a Progressive Web App with Angular

Web Application Live Demo

Angular 16 Example 
      Application

Quick start

# choose a repo
# download the example or clone the repo from github
git clone https://github.com/ganatan/angular-ssr.git

# download the example or clone the repo from gitlab
git clone https://gitlab.com/ganatan/angular-ssr.git

# change directory
cd angular-ssr

# install the repo with npm
npm install

# start the server
npm start

in your browser go to http://localhost:4200

Getting Started

Installation

  • npm install (installing dependencies)
  • npm outdated (verifying dependencies)

Developpement

Linter

  • npm run lint

Tests

  • npm run test
  • npm run coverage

Compilation

  • npm run build ( with SSR)

Production

Tests

  • npm run test

Prototype Bootstrap 5

  • change directory cd ui
  • launch html pages in your browser

Angular & Docker

  • build image

  • docker build -t angular-starter:1.0.0 .

  • run container

  • docker run -d -p 4000:4000 angular-starter:1.0.0

  • run container mode bash

  • docker run -it angular-starter:1.0.0 /bin/bash

  • in your browser http://localhost:4000

Author

  • Author : danny

Documentation

English Tutorials

Tutoriels en français