Question
Acquiring MVN design pattern, you need to build a data model for the application described in the Assignment Description section together with API Contracts. What
Acquiring MVN design pattern, you need to build a data model for the application described in the Assignment Description section together with API Contracts. What would an Entity relationship model look like for this database with a microservice archtechure. 1 database for the user management (user and roles) and another for the message and subscriptions.
2. As a result, you should have the following:
- Script to create the data model in the DB (SQL for RDBMS), which should be runnable, and creates an expected data structure;
- Script to populate the database with few records (2-3 users, 5-7 messages) and all other related information;
- A minimum of the following queries:
- Get list of users;
- Get list of content producers;
- Get list of content subscribers (full);
- Get list of content subscribers, subscribed on specific producer;
- Get all messages;
- Get all messages created by specific producer;
- Get all messages for given subscriber (it may include messages from multiple producers).
Scenario:
In this assignment you will start by developing a backend for a Twitter-like application.
The functionality of the application should have the following:
- 2 roles
- Producer; and
- Subscriber
- The Producers role is the same as the Subscriber, but has some extra capabilities:
- The producer can produce messages, which the Subscribers get;
- User may have both roles at the same time;
- Users having the Subscriber role, which means they can subscribe to as many Producers as they want to;
- All messages stored in the database, can be easily searched based on the following criteria:
- User (Producer) ID - means who wrote it;
- Message content
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
Step: 1
To create an entityrelationship model for the described database with a microservices architecture we will have two separate databases one for user ma...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started