mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
aec2cf4f5b
* feat(core): implement new interaction-session management flow implement a new interaction-session management flow for experience api use * feat(core): implement password sign-in flow implement password sign-in flow * test(core,schemas): add sign-in password tests add sign-in password tests * chore(core): update comments update comments * refactor(core): rename the password input value key rename the password input value key * refactor(core,schemas): refactor the experience API refactor the exerpience API structure * chore(test): add devFeature test add devFeature test * refactor(core): rename the path rename the path * refactor(core,schemas): refactor using the latest API design refactor using the latest API design * chore(test): replace using devFeature test statement replace using devFeature test statement * fix(core): fix lint error fix lint error * refactor(core): refactor experience API implementations refactor experience API implementations * refactor(core): replace with switch replace object map with switch * refactor: apply suggestions from code review * refactor(core): refactor the interaction class refactor the interaction class * refactor(core): update the user identification logic update the user identification logic --------- Co-authored-by: Gao Sun <gao@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.