0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/packages/core
Gao Sun 5beb7aa5ce
Merge pull request #2887 from logto-io/gao-log-5128-core-library-factory-resource
refactor(core): migrate resource library to factory mode
2023-01-10 14:38:04 +08:00
..
src Merge pull request #2887 from logto-io/gao-log-5128-core-library-factory-resource 2023-01-10 14:38:04 +08:00
static
CHANGELOG.md release: version core packages 2023-01-06 16:48:18 +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 refactor: fix esm mock context (#2725) 2022-12-26 12:12:19 +00:00
nodemon.json
package.json ci: limit max workers for core test 2023-01-10 14:31:20 +08:00
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 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.