Database Content Engine via Docker 2/2
<h1>7. Build Multiple Teams</h1>
<p>An important feature in software development is to build role-based teams so each of them can login and access APIs in own domain.</p>
<p>Let’s build two teams, <em>cust</em> for customers and <em>empl</em> for employees:</p>
<ul>
<li><em>cust</em>: authenticated by column pair {<code>contactLastName</code>, <code>postalCode</code>} in table <em>customers</em>. A <em>cust </em>member is uniquely identified by <code>customerNumber</code>.</li>
<li><em>empl</em>: authenticated by column pair {<code>email</code>, <code>extension</code>} in table <em>employees</em>. An <em>empl </em>member is uniquely identified by <code>employeeNumber</code>.</li>
</ul>
<p>In real use case, we will have columns <code>username</code> and <code>password</code> in <em>customers</em> and <em>employees</em>.</p>
<p><a href="https://medium.com/@peterbi_91340/database-content-engine-via-docker-2-2-4c94cfc7abbe"><strong>Read More</strong></a></p>