stacks icon indicating copy to clipboard operation
stacks copied to clipboard

@stacksjs/api

Open chrisbbreuer opened this issue 1 year ago • 0 comments

Clear and concise description of the problem

A simple & enjoyable way of creating and maintaining APIs.

Suggested solution

  • built-in "Bearer token authentication" support for any routes ./routes/api
    • needs to ensure database is setup by checking if API migration has run
    • any model may generate API keys (personal access tokens)
    • being able to assign abilities to tokens
  • API helper methods
  • Analytics interface
  • Request details
  • Built into admin panel
  • Test helpers
  • Thunder Client Support
    • ensure it is driver based

Alternative

No response

Additional context

No response

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

chrisbbreuer avatar Oct 29 '22 15:10 chrisbbreuer