Connecting the core to the server
When it comes to connecting our networking layer to our core layer, to avoid confusion, we map our api modules on both the core and networking layers in the same way. To map both layers, we must add the following new files for the core:
└── to_do
└── core
└── src
├── api
│ ├── basic_actions
│ │ ├── create.rs
│ │ ├── delete.rs
│ │ ├── get.rs
│ │ ├── mod.rs
│ │ └── update.rs
│ └── mod.rs
├── lib.rs
└── . . .
We can see that we are adding a file for...