88 lines
3.0 KiB
HTML
88 lines
3.0 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Gapido Auth Challenge</title>
|
|
<link rel="stylesheet" href="styles.css" />
|
|
</head>
|
|
<body>
|
|
<header class="topbar">
|
|
<span>Gapido Backend Challenge</span>
|
|
<div class="controls">
|
|
<button id="theme-toggle" type="button">Toggle theme</button>
|
|
<button id="prev" type="button">Prev</button>
|
|
<button id="next" type="button">Next</button>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="deck">
|
|
<section class="slide active">
|
|
<p class="eyebrow">The problem</p>
|
|
<h1>Secure OTP auth for microservices</h1>
|
|
<p class="lede">Python / gRPC / MongoDB / Redis / RabbitMQ / Docker</p>
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Architecture</p>
|
|
<h2>Project architecture</h2>
|
|
<img src="../assets/diagrams/service_architecture.png" alt="Service architecture" />
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Codebase</p>
|
|
<h2>Clean architecture structure</h2>
|
|
<img src="../assets/diagrams/clean_architecture.png" alt="Clean architecture layers" />
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Auth flow</p>
|
|
<h2>OTP login flow</h2>
|
|
<img src="../assets/diagrams/otp_login_flow.png" alt="OTP login flow" />
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Extensibility</p>
|
|
<h2>SMS provider strategy</h2>
|
|
<img src="../assets/diagrams/sms_provider_strategy.png" alt="SMS provider strategy" />
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Token safety</p>
|
|
<h2>Refresh token rotation</h2>
|
|
<img src="../assets/diagrams/refresh_rotation_flow.png" alt="Refresh token rotation" />
|
|
</section>
|
|
|
|
<section class="slide diagram">
|
|
<p class="eyebrow">Deployment</p>
|
|
<h2>Production deployment</h2>
|
|
<img src="../assets/diagrams/production_deployment.png" alt="Production deployment" />
|
|
</section>
|
|
|
|
<section class="slide split">
|
|
<div>
|
|
<p class="eyebrow">Tests</p>
|
|
<h2>Coverage report</h2>
|
|
</div>
|
|
<ul class="tiles">
|
|
<li>16 automated tests passing</li>
|
|
<li>OTP and token use cases</li>
|
|
<li>gRPC auth behavior</li>
|
|
<li>Demo BFF routes</li>
|
|
<li>SMS provider adapters</li>
|
|
<li>ruff, mypy, compose config</li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="slide">
|
|
<p class="eyebrow">Outcome</p>
|
|
<h2>Interview-ready microservice demo</h2>
|
|
<p class="lede">A focused auth service with clean boundaries, secure OTP, async messaging, provider strategy, and production deployment posture.</p>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="progress"><span id="counter">1 / 9</span></footer>
|
|
<script src="slides.js"></script>
|
|
</body>
|
|
</html>
|