Giter Club home page Giter Club logo

angular-example-ssr's Introduction

Angular 10 Example Server Side Rendering

An Angular starter kit featuring Angular 10.1.2, Angular CLI 10.1.2

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

Web Application Live Demo

https://angular.ganatan.com

Quick start

# clone the repo
git clone https://github.com/ganatan/angular-example-ssr.git

# change directory
cd angular-example-ssr

# install the repo with npm
npm install

# start the server
npm start

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

Prerequisites

What do you need to run this app:

  • Angular version 10.1.2
  • Angular CLI version 10.1.2
  • Jquery version 3.5.1
  • Bootstrap version 4.5.2
  • Fontawesome version 5.14.0

Getting Started

Installation

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

Development

Compilation

  • npm run build ( without SSR)
  • npm run build:ssr ( with SSR)

Production

Use Chrome version 85 min !!!!

Tests

  • npm run lint
  • npm run test
  • npm run e2e

Chrome Installation on Linux

sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo apt-get update

sudo apt-get install google-chrome-stable --yes

Compilation

  • npm run build ( without SSR)
  • npm run build:ssr ( with SSR)

Production

Prototype Bootstrap 4

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

Prototype Bootstrap 5.0.0-alpha1

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

Author

  • Updated : 22/09/2020
  • Author : danny

Documentation

English Tutorials

Tutoriels en français

angular-example-ssr's People

Contributors

ganatan avatar ganatanbriel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.