Populating a database consuming an external API.
Packages Reference:
The code is pretty simple:
- First of all, i created the database.
- Downloaded the necessary packages(you can check up here).
- Created the interfaces to apply SOLID Principles.
- Implemented the Service class.
- And in the controller, i implemented the call to the API and the code to populate the Database.
Thanks for coming here!