Code Monkey home page Code Monkey logo

crypto-market's Introduction

Cryptocurrency Market

This is a simple Progressive Web App using Angular 5 that tracks real-time cryptocurrency prices. Find your top favourite coins here, like Bitcoin, Ethereum, Ripple and more. What's more, you can add this app to your iPhone and Android Home Screen now.

Environment

Build Status Angular 5.2.9 Angular-Cli 1.7.4 NG-ZORRO 0.6.15 Chart.js 2.7.2

Features

  • Pure front end coding, no back end services;
  • Fetch real-time price data from CryptoCompare's public APIs every 15 seconds;
  • Colour changes to indicate real-time price change;
  • Draw historical price trends using Chart.js with customised styles and functions;
  • Integrated with Ant Design for simple and unified visual style;
  • Cross-browser compatability and mobile-friendly;
  • Support Progressive Web Apps' features. Now you can add it to your iPhone and Android Home Screen, or into Chrome Apps.

Cryptocurrency Market

Cryptocurrency Market

Cryptocurrency Market

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.

Serving with http-server to Support Service Worker

Because ng serve does not work with service workers, you must use a separate HTTP server to test your project locally. You can use any HTTP server. The example below uses the http-server package from npm. To reduce the possibility of conflicts, test on a dedicated port.

cd dist
npx http-server -p 8080

Running unit tests

Run ng test to execute the unit tests via Karma.

Get angular help

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

crypto-market's People

Contributors

angular-cli avatar mrcotter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

crypto-market's Issues

请教一下,您这个纯前端的作品,是用什么server?

我是一直用nodejs写后端,
现在用React写前端,把前端资源打包后,就是一个静态的index.js
index.html里引入了这个index.js
然后就不知道下一步咋办了

请问是用一个什么http-server之类的,
还是直接用nginx来做server?

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.