Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>API Docs | CodeCraft Connect</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://cdn.jsdelivr.net/npm/daisyui@3.9.4/dist/full.css" rel="stylesheet" type="text/css" /> | |
| </head> | |
| <body> | |
| <div class="navbar bg-base-100 shadow-lg"> | |
| <div class="flex-1"> | |
| <a href="/" class="btn btn-ghost normal-case text-xl">CodeCraft Connect 🚀</a> | |
| </div> | |
| <div class="flex-none"> | |
| <ul class="menu menu-horizontal px-1"> | |
| <li><a href="/dashboard">Dashboard</a></li> | |
| <li><a class="active">API Docs</a></li> | |
| <li><a href="/login">Login</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="prose max-w-none"> | |
| <h1>API Documentation</h1> | |
| <p>Interact with our backend services through these RESTful endpoints</p> | |
| <div class="mockup-code my-4"> | |
| <pre><code>GET /api/users</code></pre> | |
| <pre><code>POST /api/users</code></pre> | |
| <pre><code>GET /api/users/:id</code></pre> | |
| </div> | |
| <h2>Authentication</h2> | |
| <p>All API endpoints require authentication via JWT token:</p> | |
| <div class="mockup-code my-4"> | |
| <pre><code>Authorization: Bearer your.jwt.token</code></pre> | |
| </div> | |
| </div> | |
| </main> | |
| <footer class="footer footer-center p-4 bg-base-300 text-base-content"> | |
| <div> | |
| <p>Copyright © 2023 - All right reserved by CodeCraft Connect</p> | |
| </div> | |
| </footer> | |
| </body> | |
| </html> |