Nest.js MVP Auth API Setup

Job ID: 40097618

Budget: ₹600 – ₹1,500 INR

I’m spinning up a quick MVP and need a clean Nest.js code-base that handles a straightforward Basic Auth flow. The focus is tight and pragmatic: create a RESTful API that lets an Admin account register, log in, log out, and hit a protected sample endpoint once authenticated.

What I expect:
• Nest.js project scaffolded with the standard folder structure
• Passport strategy configured for Basic Auth, wired into Guards and applied to the protected route
• Simple in-memory or SQLite user store is fine for now—just enough to persist one Admin user
• Clear, concise README explaining how to install, run, and test the endpoints with curl or Postman

Future roles (User, Guest) may come later, so please write the code in a way that lets me drop in additional roles without a refactor.

Keep it lightweight, don’t over-engineer—just solid, idiomatic Nest.js that I can extend once the MVP is approved.