This guide walks you through cloning the repository, starting the API, registering a user account, and making your first authenticated request. By the end you will have a running Alphabet instance and a valid access token you can use to explore any protected endpoint.Documentation Index
Fetch the complete documentation index at: https://alphabet-06152314.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- .NET 10 SDK
- Docker (optional — needed only for SQL Server and Redis)
- A REST client:
curl, Postman, or HTTPie
Start dependencies (optional)
If you want to use SQL Server and Redis instead of the in-memory providers, start them with Docker Compose:You can skip this step if you switch
Database.Provider to InMemory and Cache.Provider to Memory in appsettings.json. See Configuration for details.Run the API
Start the API from the solution root:The API listens on
https://localhost:5001. You will see Serilog request logs in the terminal as traffic arrives.Explore Swagger
Open
https://localhost:5001/swagger in your browser. Every endpoint is documented with summaries and example payloads, and you can execute requests directly from the UI.Swagger is enabled only in the development environment. It is not exposed in production builds.
Register an account
Send a A successful registration returns
POST request to create your first user:200 OK. The API sends a confirmation email to the address you provided.Confirm your email
Check your inbox for the confirmation link and click it to activate your account.
Login and get your access token
Exchange your credentials for a JWT access token:The response contains your tokens:Store the
accessToken — you need it for every protected request. Use the refreshToken to obtain a new access token when the current one expires (access tokens expire after 15 minutes by default).Next steps
- Read the Authentication overview to understand token refresh, MFA, and cookie-based auth.
- Explore Access Control to learn how privileges and roles protect your endpoints.
- Check the Configuration guide to switch database providers, connect Redis, and update CORS origins.