server-packages-typedoc.mewtant.io Open in urlscan Pro
172.67.133.159  Public Scan

URL: https://server-packages-typedoc.mewtant.io/
Submission: On July 12 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 1 forms found in the DOM

<form>
  <ul id="tsd-filter-options">
    <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected" data-has-instance="true"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true">
          <rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect>
          <path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path>
        </svg><span>Protected</span></label></li>
    <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private" data-has-instance="true"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true">
          <rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect>
          <path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path>
        </svg><span>Private</span></label></li>
    <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked="" data-has-instance="true"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true">
          <rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect>
          <path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path>
        </svg><span>Inherited</span></label></li>
    <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external" data-has-instance="true"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true">
          <rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect>
          <path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path>
        </svg><span>External</span></label></li>
  </ul>
</form>

Text Content

 * Preparing search index...
 * The search index is not available

Server Packages



SERVER PACKAGES

目录

 * 账号组件
   * 文件指引
   * 准备工作
   * 食用指南
     * 快速搭建账号组件的 API-Server


--------------------------------------------------------------------------------


账号组件

 * 组件化方案:点此进入

 * 账号API文档:点此进入

--------------------------------------------------------------------------------



文件指引

server-packages
├── example //组件演示代码
│   ├── account-usage //推荐从这里看如何使用账号组件!
│   └── gateway-usage
├── packages
│   ├── account //账号组件的源代码
│   └── gateway
├── ...



准备工作

 * 数据库:postgres
 * smtp 邮件服务:账号+密码
 * 第三方登录:api key+secret(目前仅支持 Google 和 Apple 服务)


食用指南


快速搭建账号组件的 API-SERVER

 1. cd example/account-usage

 2. 使用src/createTables.sql在数据库构建数据表

 3. yarn install 安装依赖库

 4. 参考src/config.ts配置依赖参数

 5. 运行yarn start,即可启动最简 API Server (具体可参考src/config.ts修改!)

 6. 账号组件的 API 文档,点此处


SETTINGS

MEMBER VISIBILITY

 * Protected
 * Private
 * Inherited
 * External

THEME

OSLightDark


MODULES

 * Server Packages
   * @troph-team/account
   * @troph-team/gateway

Generated using TypeDoc