0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/core
simeng-li fafe27f87a
test(core): add exception cases for role api and scope api (#3802)
* feat(core): add roles api guard

add roles api guard

* feat(core): add scope api response guard

add scope api response guard

* test(core): add exception cases for role api integration tests

add exception cases for role api integration tests

* fix(console): fix lint error

fix lint error

* fix(core): remove guard status code

remove guard status code

* fix(core): resolve comments

resolve comments

* fix(core): remove useless 401,403 code guard

remove useless 401,403 code guard

* fix(core): fix swagger 422 guard error

fix swagger 422 guard error
2023-05-05 16:18:27 +08:00
..
src test(core): add exception cases for role api and scope api (#3802) 2023-05-05 16:18:27 +08:00
static/html refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
CHANGELOG.md release: version packages (#3751) 2023-04-27 19:11:20 +08:00
jest.config.js refactor(core): check connector-kit compatibility when load connector (#2798) 2023-01-01 18:36:46 +08:00
jest.setup.js test(core): add unit tests 2023-02-12 23:37:47 +08:00
nodemon.json feat: create tenant for new users (#3255) 2023-03-01 20:55:26 +08:00
package.json refactor(core): add response schemas to swagger.json API (#3801) 2023-05-04 12:35:55 +08:00
README.md
tsconfig.base.json refactor: update tsconfig 2023-02-17 13:41:05 +08:00
tsconfig.build.json
tsconfig.json refactor(core,ui): refactor social sign-in flow (#2958) 2023-01-18 14:11:22 +08:00
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 Doc

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.