This project was generated with Angular CLI version 1.7.4.
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,
server {
listen 4000;
location /getmarketsummaries {
add_header Access-Control-Allow-Origin *;
proxy_pass https://bittrex.com/api/v1.1/public/getmarketsummaries;
}
}- 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
Socket server (NodeJS) - LiveData at http://localhost:3000/
cd server/
node server.jsApplication Web (Angular using Material Design) - App at http://localhost:4001/
npm i
ng serveRun ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
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.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.