Git Product home page Git Product logo

angular-universal-app's Introduction

SpaceX Launch App

This application helps users to browse all launches SpaceX programs. This is server-side rendering application. The initial launch programs landing page is server side rendered. This application is deployed on netlify.

Live Application Link

SpaceX Launch App

Application screenshots

  1. Desktop View:

Desktop View

  1. Tablet View:

Tablet View

Tablet View

  1. Mobile View:

Mobile View

Mobile View

Lighthouse Report:

LightHouse Report

Technology Stack

  1. Angular v11.1.2
  2. Angular universal for server-side rendering.
  3. Bootstrap v4.6.0 for styling and responsiveness.
  4. RxJS v6.6.0 for using rxjs operators.
  5. netlify to deploy angular application.

Code scaffolding

Steps:

  1. To create new angular application run ng new angular-app.
  2. To add angular universal package in project run ng add @nguniversal/express-engine.
  3. To add new component run ng g c component-name.
  4. To add new service run ng g s service-name.
  5. To add bootstrap package run npm install bootstrap --save.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

To publish build run npm run prerender that will create artifacts in dist folder under dist/spaceX-Launch-App/browser.

Development server

Run npm run dev:ssr for a dev server. Navigate to http://localhost:4200/

Running unit tests

Run ng test to execute the unit tests via Karma.

Lint Report

Run ng lint to generate linting report.

angular-universal-app's People

Contributors

nitinmangrule 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.