Skip to content

ganatan/angular-ssr

Repository files navigation

Angular 18 Example Server Side Rendering

An Angular starter kit featuring Angular 18.2.12, Angular CLI 18.2.12

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