0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/core
Charles Zhao f8f14c0ba7
feat(core): set up proxy to host custom ui assets if available (#6214)
* feat(core): set up proxy to host custom ui assets if available

* refactor: use object param for koa spa proxy middleware

* refactor: make queries param mandatory
2024-07-17 17:33:47 +08:00
..
src feat(core): set up proxy to host custom ui assets if available (#6214) 2024-07-17 17:33:47 +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 (#5987) 2024-07-06 09:07:56 +08:00
jest.config.js feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
jest.setup.js feat: default user role (#5872) 2024-05-17 16:02:05 +08:00
nodemon.json feat(connector): support client_secret_basic and client_secret_jwt methods for oauth2 connectors (#5762) 2024-04-24 13:51:41 +08:00
package.json feat(core,schemas): add post custom ui assets api (#6118) 2024-07-15 16:06:09 +00:00
README.md chore: use sentence case 2023-10-25 14:01:49 +08:00
tsconfig.base.json refactor: update tsconfig 2023-02-17 13:41:05 +08:00
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.