Skip to content

ganatan/angular-ssr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Angular 20 Example Server Side Rendering

An Angular starter kit featuring Angular 20.0.1, Angular CLI 20.0.1

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

Web Application Live Demo

Angular 20 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
cd frontend-angular

# 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