How nitish-11k/founder-kit works
FounderKit is an ASP.NET Core identity API. Users register and verify an OTP sent by email, then log in to receive a JWT; authenticated users can retrieve their profile. The API also supports OTP-based password reset and resend flows. Program.cs wires Identity to EF Core, configures JWT authentication, and validates a system license at startup. The excerpts show these runtime relationships, but the README is empty and the license validator has no source path in the tree, so its implementation is not represented.
Main entry points: Program.cs API host · AuthController.cs Account auth · ProfileController.cs Profile endpoint · AppDbContext.cs Identity context
Components 12
API endpoints
- Account auth
FounderKit.API/Controllers/AuthController.cs - Profile endpoint
FounderKit.API/Controllers/ProfileController.cs - API host
FounderKit.API/Program.cs
Identity data
- Application user
FounderKit.Domain/Entities/ApplicationUser.cs - Identity manager
- Identity context
FounderKit.Infrastructure/Persistence/AppDbContext.cs - SQL database
Email delivery
- Email contract
FounderKit.Application/Interfaces/IEmailServices.cs - SMTP email
FounderKit.Infrastructure/Services/EmailService.cs
Startup services
- License validator
Other components
- API user
- SMTP server
Connections 17
- API user → Account auth: sends requests
FounderKit.API/Controllers/AuthController.cs - API user → Profile endpoint: requests profile
FounderKit.API/Controllers/ProfileController.cs - API host → Account auth: maps controllers
FounderKit.API/Program.cs - API host → Profile endpoint: maps controllers
FounderKit.API/Program.cs - Account auth → Identity manager: manages accounts
FounderKit.API/Controllers/AuthController.cs - Profile endpoint → Identity manager: finds account
FounderKit.API/Controllers/ProfileController.cs - Account auth → Application user: creates and updates
FounderKit.API/Controllers/AuthController.cs - Profile endpoint → Application user: returns profile fields
FounderKit.API/Controllers/ProfileController.cs - API host → Identity context: configures SQL context
FounderKit.API/Program.cs - Identity context → Application user: stores identity users
FounderKit.Infrastructure/Persistence/AppDbContext.cs - API host → Identity manager: registers EF stores
FounderKit.API/Program.cs - Identity context → SQL database: uses connection
- Account auth → Email contract: sends OTP email
FounderKit.API/Controllers/AuthController.cs - API host → SMTP email: registers implementation
FounderKit.API/Program.cs - SMTP email → Email contract: implements
FounderKit.Infrastructure/Services/EmailService.cs - SMTP email → SMTP server: sends messages
FounderKit.Infrastructure/Services/EmailService.cs - API host → License validator: validates at startup
FounderKit.API/Program.cs