Implementing the Infrastructure Layer
Last updated
Last updated
In this section, we're going to create a Data Model, Data Source and a note Repository Implementation for persisting our notes locally via SQLite.
The following topics will be covered:
Make sure you have the accomplished the following guides:
A. External Dependencies
We'll import the necessary dependencies that we need to create our data source.
B. Creating a Data Model
We'll make a Data Model
for our notes that is specific to our local SQLite Data Source
.
C. Creating a Data Source
We'll implement the code for establishing connection and managing data in the local SQLite database.
D. Implementing a Repository
We'll create an implementation of the Note Repository to interact with the Data Source
.