Implementing the schema 🛠️
Implement the full schema for our project and define all relationships.
Now we've got a basic server in place, we can start to implement the full schema for our project.
We'll implement the isolated entities for Job, User and Company.
We can focus only on the direct relationships between these entities.
User -> Job
Job -> Company and User
This is an approach that scales extremely well. It's inspired by the Ducks pattern in Redux.
You may have heard of patterns like feature-based architecture. This is a similar approach, but instead of focusing on features, we're focusing on entities.
By definding our entities as isolated units, it doesnt matter if we have 3 or 300 entities.