Code Monkey home page Code Monkey logo

star-wars's Introduction

The StarWars Application ๐Ÿ’ฅ

This project was generated with Angular CLI version 7.3.5.

Demo Link

https://naveendb92.github.io/star-wars/#/planet

Application Information

This application is built using Angular 7, Angular-Material, SCSS, Bootstrap 4.

Entire Application is built using the following commands

  • ng new star-wars --style=scss
  • npm install --save bootstrap jquery popper.js
  • ng g component components/dashboard (component creation: creates dashboard component inside components folder)
  • npm install --save @angular/material @angular/cdk @angular/animations
  • npm install --save hammerjs
  • ng generate service services/data
  • ng generate service services/count (contains a variable which is a subjectBehavior and made as observable so that the changes to the variable can be observed/monitored from anywhere in the application)
  • npm install --save font-awesome_

Development Server

Run ng serve and navigate to http://localhost:4200/. Or run ng serve --open which automatically open the browser and runs the application. Also the app will automcatically detect if any changes and reloads the application.

Deployment of Application to GitHub Page

  1. Run the command ng build --prod --output-path docs --base-href /<project_name>/ which creates docs folder in your applicaion root path.
  2. Inside docs folder, copy index.html and paste in the same folder (docs) and rename it to 404.html.
  3. Commit all the changes and push the code to GitHub.
  4. Go to GitHub -> Your Application -> Settings (top right corner) -> scroll down and find GitHub Pages. โ†“
  5. From the Source dropdown, select master branch/docs folder.
  6. It creates a application link.

Project Build

"ng build --prod"

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.


Markdown Cheatsheet

star-wars's People

Stargazers

 avatar

Watchers

 avatar

Forkers

hd60hz

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.