Skip to content

Angular 9 Example App + Angular CLI + Bootstrap + PWA + SSR + Angular Universal + REST API + Components

Notifications You must be signed in to change notification settings

mathisscott/angular9-app

This branch is 2 commits ahead of, 720 commits behind ganatan/angular-app:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff69245 · Mar 24, 2020

History

79 Commits
Mar 8, 2020
Feb 11, 2020
Mar 24, 2020
Feb 11, 2020
Nov 26, 2018
Feb 11, 2020
Mar 19, 2020
Feb 25, 2020
May 31, 2019
Nov 15, 2019
Aug 22, 2019
Mar 24, 2020
Feb 11, 2020
Feb 11, 2020
Aug 22, 2019
Feb 11, 2020
May 31, 2019
Feb 11, 2020

Repository files navigation

Angular 9 Application

Angular 9.0.7 + Angular CLI + Angular Universal
Lazy Loading + SSR + PWA + SEO + google Analytics + API REST (Node.js)
Prototype bootstrap
LIVE DEMO

Angular 9 Example Application

Lighthouse Audit

Table of contents

Status

GitHub stars GitHub forks

Front-end : What's included

Dependencies

  • Angular : 9.0.7
  • Angular CLI : 9.0.7
  • Angular Universal : 9.0.1
  • Bootstrap : 4.4.1
  • Fontawesome : 5.12.1
  • jquery : 3.4.1

Features

  • Routing
  • Lazy Loading
  • Server Side Rendering
  • Progressive Web App
  • Responsive Layout
  • Search Engine Optimization (SEO)
  • Components
  • Services
  • inheritance
  • Search / Grid / Pagination
  • Leaflet open-source JavaScript library

Back-end : What's included

Dependencies

  • Node.js : 12.16.0
  • Express.js : 4.17.1
  • pg-promise : 10.4.4

Features

  • PostgreSQL
  • Database Creation
  • Domains Creation
  • Tables Creation
  • Importing Data
  • Exporting Data
  • RESTful API

Quick start

# clone the repo
git clone https://github.com/ganatan/angular9-app.git

# change directory
cd angular9-app

# install the repo with npm
npm install

# start the server
npm start

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

Front-end

Installation

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

Developpement

Settings

  • you can select one of these Datasources

  • Change settings in src/app/modules/application/movies-images-list

  • File config/config.service.ts

  • default: LOCAL JSON

  • LOCAL REST API CRUD : http://localhost:5200

Tests

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

Compilation

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

Production

Prototype Bootstrap

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

Back-end

Installation

  • change directory cd api
  • npm install (installing dependencies)
  • npm outdated (verifying dependencies)

Database Creation

  • change login and password for postgreSQL in file config.json

  • login":"postgres"

  • password":"your_password"

  • npm run app (database creation)

Developpement

Tests API

Author

  • Updated : 19/03/2020
  • Author : danny

Documentation

English Tutorials

Tutoriels en français

About

Angular 9 Example App + Angular CLI + Bootstrap + PWA + SSR + Angular Universal + REST API + Components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 46.7%
  • HTML 39.5%
  • JavaScript 11.1%
  • CSS 2.7%