/angular8-pwa

Angular 8 example pwa + SSR + CRUD API

Primary LanguageTypeScript

Angular 8 Example PWA

Live Demo | Installation Guidelines

Front-end with Angular 8 - Back-end with Node.js

Front end : What's included

Dependencies

  • Angular : 8.2.9
  • Angular CLI : 8.3.8
  • Angular Universal : 8.1.1
  • Bootstrap : 4.3.1
  • Fontawesome : 5.11.2
  • jquery : 3.4.1

Features

  • Routing
  • Lazy Loading
  • Server Side Rendering
  • Progressive Web App
  • Responsive Layout
  • Search Engine Optimization (SEO)
  • Components
  • Services
  • inheritance
  • ReactiveForms
  • Search / Grid / Pagination

Back end : What's included

Dependencies

  • Node.js : 10.6.3
  • Express.js : 4.17.1
  • pg-promise : 9.0.3

Features

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

Quick start

# clone the repo
git clone https://github.com/ganatan/angular8-example-pwa.git

# change directory
cd angular8-example-pwa

# install the repo with npm
npm install

# start the server
npm start

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

Getting Started / Front-end

Installation

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

Developpement

Settings

Tests

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

Getting Started / 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 : 04/10/2019
  • Author : danny ganatan

Documentation

English Tutorials

Tutoriels en français