GithubHelp home page GithubHelp logo

mathisscott / angular9-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ganatan/angular-app

1.0 2.0 0.0 12.9 MB

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

JavaScript 11.07% TypeScript 46.80% HTML 39.45% CSS 2.68%

angular9-app's Introduction

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

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.