- Add API key model and schema for MongoDB. - Create utility functions for API key generation, hashing, and authentication. - Implement endpoints for creating, retrieving, and revoking API keys in the auth route. - Add API key management section in the dashboard with UI for creating and revoking keys. - Update user authentication to support API key usage. - Enhance dashboard to display API keys and their statuses. |
||
|---|---|---|
| .. | ||
| src | ||
| bun.lock | ||
| Dockerfile | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Elysia with Bun runtime
Getting Started
To get started with this template, simply paste this command into your terminal:
bun create elysia ./elysia-example
Development
To start the development server run:
bun run dev
Open http://localhost:3000/ with your browser to see the result.