Giter VIP home page Giter VIP logo

sstampher / crypto-portfolio-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igniteui/crypto-portfolio-app

0.0 1.0 0.0 40.52 MB

Application that uses Ignite UI for Angular components along with Firebase data storage and a lot more ..

Home Page: https://igniteui.github.io/crypto-portfolio-app/

TypeScript 27.77% JavaScript 2.17% CSS 1.78% HTML 3.18% Java 54.05% Batchfile 1.48% Objective-C 9.57%

crypto-portfolio-app's Introduction

Build Status

Application demo

Application that uses Angular framework, Firebase Auth and Real time databse, and Ignite UI for Angular components.

Open https://igniteui.github.io/crypto-portfolio-app/ to see the web app.

  • base href used for the web app - <base href="https://igniteui.github.io/crypto-portfolio-app/">

Mobile app available here, only for Android phones.

  • base href used for the mobile app - <base href="./" />. Use dist folder files in order to create the .apk file. Before zipping the folder, go to index.html file and change the base href. When the zip is ready, upload it to phonegap app builder and create the .apk.

This project is generated with Angular CLI.

Start using the app

  1. Generate CryptoCompare API key (Used by data services)
  2. Generate Firebase configuration (Used for firebase auth and data storing).
  3. Run npm install
  4. Run ng serve -o

Note: Once you generate CryptoCompare API key, put it in the data.service.ts as private apiKey: string = '<your-api-key>'. Firebase configuration should be added in the app.module.ts file:

export const firebaseConfig = {
   apiKey: '',
   authDomain: '',
   databaseURL: '',
   projectId: '',
   storageBucket: '',
   messagingSenderId: ''
};

Create a production bundle

  1. Run ng build --prod --aot
  2. Go to dist folder and host with IIS or any other provider (example lite-server)

Create web bundle

Use the command npm run build:web or:

  1. Run ng build
  2. Go to dist folder and copy paste the content in the docs folder. Change the base href url to be <base href="https://igniteui.github.io/crypto-portfolio-app/">

dist and docs folders

docs folder is used for the GitHub Pages site. Related to Publishing your GitHub Pages site from a /docs folder on your master branch Use ng build --prod --aot to build the project, copy -> paste into docs folder the generated content in dist folder, and replace the base href.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Mobile app

Use phonegap to build the mobile application, the aot build proccess will update the content of the dist folder. Use it to replace the content in mobile/www/...

Keep in mind that the base href for the mobile app should be <base href="./">

.zip the mobile folder and use phonegap builder to generate .apk file/

More

Loading spinners in the app - SpinKit

crypto-portfolio-app's People

Contributors

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