mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
21bb35b127
* feat: init management api hook middleware function * refactor: fix type issues * feat(core): implement auto triggered management api hooks implement auto triggered managment api hooks * refactor(console,core,schemas): rename the managementHook to dataHook rename the managementHooke to dataHook and redefine the types * feat(core): add dev feature guard add dev feature guard * chore: update changeset update changeset * refactor(core,console,schemas,shared): update the webhook logics update the webhook logics. Address some PR review comments * fix(test): fix integration tests fix integration tests * fix(test): remove legacy code remove legacy code * refactor(core,schemas): refactor the hook library code refactor the webhooks library code. address some comments * fix(core): address rebase issue update console log using getConsoleLogFromContext * fix(core): fix ut fix ut * fix(core): refactor data webhook code refactor data webhook codes * refactor(core): clean up some management api webhook code clean up some management api webhook code --------- Co-authored-by: simeng-li <simeng@silverhand.io> |
||
---|---|---|
.. | ||
src | ||
static/html | ||
CHANGELOG.md | ||
jest.config.js | ||
jest.setup.js | ||
nodemon.json | ||
package.json | ||
README.md | ||
tsconfig.base.json | ||
tsconfig.build.json | ||
tsconfig.json | ||
tsconfig.test.json |
@logto/core
The core backend service.
Get started
Copy proper .env
to project root. (TBD: design the config process)
pnpm i && pnpm dev
OpenAPI documentation
OpenAPI (Swagger) json is available on http(s)://your-domain/api/swagger.json
. If you are running locally, the default URL will be http://localhost:3001/api/swagger.json
. Consume it in the way you like.
Using ReDoc
The doc website can be served by redoc-cli in an extremely easy way:
npx redoc-cli serve http://localhost:3001/api/swagger.json
Using Swagger editor
Copy the API output and paste it in the Swagger Editor.