https://github.com/thiswallz/market-individual-data
a complete small project using Angular 5 / Material Design / Animations / NodeJS / Bittrex
https://github.com/thiswallz/market-individual-data
angular animation material-design nodejs
Last synced: 24 days ago
JSON representation
a complete small project using Angular 5 / Material Design / Animations / NodeJS / Bittrex
- Host: GitHub
- URL: https://github.com/thiswallz/market-individual-data
- Owner: thiswallz
- Created: 2018-05-02T16:32:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T16:45:01.000Z (about 8 years ago)
- Last Synced: 2025-02-24T10:40:23.890Z (over 1 year ago)
- Topics: angular, animation, material-design, nodejs
- Language: TypeScript
- Size: 3.19 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MarketSummaries
### This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.4.
## Web App
### Customizable grid with animation

## Proxy Server (Nginx) - Api rest at http://localhost:4000/
* Start Nginx with this configuration (In order to bypass CORS problems with the Bittrex API REST) i.e,
```sh
server {
listen 4000;
location /getmarketsummaries {
add_header Access-Control-Allow-Origin *;
proxy_pass https://bittrex.com/api/v1.1/public/getmarketsummaries;
}
location ~* ^/getticker/(.*) {
add_header Access-Control-Allow-Origin *;
proxy_pass https://bittrex.com/api/v1.1/public/getticker/$1$is_args$args;
}
}
```
* You can use other tool/server/extension to bypass bittrex, like an Chrome CORS extension, just remember change the URL in src/environments/environment.ts and src/environments/environment.prod.ts
## Application Web (Angular using Material Design) - App at http://localhost:4001/
```sh
npm i
ng serve
```
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## 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.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).