Cricket is one of international sport and it is widely popular in India.
This case study is about showing current and also the details about each match .
Build a system to find current cricket matches and add matches to favourite list.
-
The application needs to fetch cricket matches from the following API.
Refer the following URLs to explore more on the cricket match APIs.
- https://www.cricapi.com/how-to-use.aspx
- https://www.cricapi.com/how-to-use/next-matches-api.aspx
- https://www.cricapi.com/how-to-use/match-api.aspx
- https://www.cricapi.com/how-to-use/scores-api.aspx
- A frontend where the user can register/login to the application, find current or old cricket matches and add interested matches to favourite list.
- The match can be viewed after successful login into the application.
- The complete match details can be displayed for a selected cricket match.
- User can add a match to favourite list and should be able to view favourite matches.
- UserService - should be able to manage user accounts.
- UI (User interface) - should be able to
- View current matches
- Add a match to favourite list
- should be able to see favourite matches
- UI should be responsive which can run smoothly on various devices
- FavouriteService - should be able to store all the favourite matches for a user
- Spring Boot
- Angular
- CI (Gitlab Runner)
- Docker, Docker Compose
All the durations are only approximations
-
Building frontend :
- Building responsive views:
- Register/Login
- Cricket Matches - populating from external API
- Build a view to show favourite matches
- Using Services to populate these data in views
- Stitching these views using Routes and Guards
- Making the UI Responsive
- E2E test cases and unit test cases
- Writing CI configuration file
- Dockerize the frontend
-
Building the UserService
- Creating a server in Spring Boot to facilitate user registration and login using JWT token and MySQL
- Writing swagger documentation
- Unit Testing
- Write CI Configuration
- Dockerize the application
- Write docker-compose file to build both frontend and backend application
-
Building the Favourite Service
- Building a server in Spring Boot to facilitate CRUD operation over favourite matches stored in MySQL
- Writing Swagger Documentation
- Write Unit Test Cases
- Write CI Configuration
- Dockerize the application
- Update the docker-compose
-
Demonstrate the entire application