Program that allows to get recommendation of stocks
This project was structured as bellow:
Source files are in src/app folder
- core: contains models and services
- Stock: class that represents a stock and its recommendations
- StockRecommendation: class that represents a stock recomendation
- Recommendation: enum that represents a type of recommendations
- StockService: mock values of stock recommendations
- features/stock: contains feature that provides stock recommendations
- StockComponent: top component that consume StockService and has StockRecommenderComponent embedded view
- StockRecommenderComponenent: table with stock recommendations
- shared: contains shared declarables (components, directives, pipes)
- HeaderComponent
- ButtonComponent
- AlertDirective: used to add css class to types of recommendations
- styles: contains style files
- base: tags basic styles
- generic: generic properties
- objects: objects that can reused
- settings: basic configurations
- tools: mixins and functions
styles: imports style files in ascending order of specificity, following ITCSS architecture Components CSS classes follows RSCSS methodology
node ^v10.10.0
npm install
npm test
npm start
Access http://localhost:4200/ from a browser
Keilla Menezes Fernandes