Skip to content

ethan-stone/optra

Repository files navigation

Repo Layout

Packages

  • web: Next.js app for the dashboard.
  • api: AWS Lambda function using https://hono.dev/.
  • bootstrap: A helper libray to bootstrap the entire application for development.
  • core: Shared core logic for the application.
  • lambdas: AWS Lambda functions for background tasks such as rotating client secrets, rotating signing secrets, and invoicing customers.
  • docs: Mintifly docs for the API reference and guides.
  • default-route: Under the hood we use a cloudfront distributino to route requests to the correct origin. This is the origin that cloudfront routes to by default.

TODO

  • Nice homepage.
  • Viewable metrics for tokens issued per API.
  • Viewable metrics for tokens issued per client.
  • Set scopes API route.
  • Onboarding flow when new sign up.
  • Internal scopes for api.
  • Use internal scopes to authorize api requests.
  • Setup better logging for web.
  • Ability to rotate client secrets for root clients.
  • Migrate to Supabase for auth instead of Clerk for less services.
  • Billing management page.
  • Invoice history page.
  • User management page.
  • Have documentation, guides, API reference, and examples.
  • Complete Stripe (or LemonSqueezy, need to check it out) integration with handling of payment fails.
  • Setup some sort of incident tracker. Maybe incident.io.
  • Be able to record usage of a client.
  • Remove defaulting to admin role. It defaults to admin for now just to make it easier to test/develope.
  • Make sure all email recommendations are setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages