Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@steedos/accounts

Package Overview
Dependencies
Maintainers
0
Versions
1192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@steedos/accounts

Fullstack authentication and accounts-management for steedos.

  • 2.7.10
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
760
increased by92.41%
Maintainers
0
Weekly downloads
 
Created
Source

Steedos Accounts

Fullstack authentication and accounts-management for steedos.

Connect to mongodb

export MONGO_URL=mongodb://127.0.0.1/steedos

process.ENV

export ROOT_URL=http://127.0.0.1:4000/

Start Server at 4000

yarn
yarn start

Server apis runs on https://127.0.0.1:4000/accounts/

Debug Webapp at 3000

cd webapp
yarn
yarn start

Navigate to https://127.0.0.1:3000/ to view react webapp.

Build Webapp to 4000

cd webapp
yarn
yarn build

Build webapp to /webapps/build folder, will mount to https://127.0.0.1:4000/accounts/a/

Navigate to https://127.0.0.1:4000/ , will redirect to build webapp at https://127.0.0.1:4000/accounts/a/

密码策略

默认密码格式要求为:密码必须包含字符、数字和字母,并至少有一个大写字母,且不能少于8位 可通过steedos-config.ym配置文件进行重写:

public:
  accounts:
    password:
      policy:
        reg: ^(?![A-Z]+$)(?![a-z]+$)(?!\d+$)\S{8,}$
        regErrorMessage: 密码必须包含字母和数字,且不能少于8位

功能说明

  • 此包用于提供登录及注册页面的服务端接口

FAQs

Package last updated on 30 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc