In this project I followed Clean Architechture and fetch the data from API. you can see stock rates and price charts. You can directly download the app in Release section. Here is the demo.
Groww_assignment.mp4
project-root/ Groww_Assignment
│
├── data/
│ ├── local/
│ │ ├── database/
│ │ │ ├── dao/
│ │ │ └── entities/
│ │ ├── datastore/
│ │ └── cache/
│ ├── remote/
│ │ ├── api/
│ │ ├── dto/
│ │ └── interceptors/
│ ├── repository/
│ └── mappers/
│
├── domain/
│ ├── model/
│ ├── repository/
│ ├── usecase/
│ └── util/
│
├── presentation/
│ ├── navigation/
│ ├── components/
│ │ ├── common/
│ │ ├── stock/
│ │ ├── watchlist/
│ │ ├── search/
│ │ └── chart/
│ ├── screens/
│ │ ├── explore/
│ │ │ └── components/
│ │ ├── stock_detail/
│ │ │ └── components/
│ │ ├── watchlist/
│ │ │ └── components/
│ │ └── view_all/
│ │ └── components/
│ └── util/
│
├── di/
│
└── util/
-
First sign up at alphavantage.co and get your free API key.
-
Open
local.properties
-
Add this line:
API_KEY=your_api_key_here