https://github.com/iambpn/auths
Authentication System inspired by Auth0
https://github.com/iambpn/auths
authentication authn authorization auths dashboard express expressjs nodejs package plugin rbac typescript-library
Last synced: about 1 month ago
JSON representation
Authentication System inspired by Auth0
- Host: GitHub
- URL: https://github.com/iambpn/auths
- Owner: iambpn
- License: mit
- Created: 2023-08-23T14:38:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T13:53:28.000Z (about 2 years ago)
- Last Synced: 2025-11-23T07:29:27.368Z (7 months ago)
- Topics: authentication, authn, authorization, auths, dashboard, express, expressjs, nodejs, package, plugin, rbac, typescript-library
- Language: TypeScript
- Homepage:
- Size: 861 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auths
Authentication System Inspired by Auth0
**Links to Documentation: [Docs.md](/backend/Readme.md)**
**Links to NPM Package: [Npm](https://www.npmjs.com/package/@iambpn/auths)**
# Commands to setup the project for development.
- `npm init -w `: Create workspace folder
- `npm run <npm-options> -w <workspace-name> -- <script options>` : Run script
# Package.json Scripts
- `Dev: npm run dev`: runs both `frontend` and `backend` project sequentially.
- `Build: npm run build`: Runs `build` command in all workspaces
- `Pack: npm run pack`: Packs the package into tarball so that it can be inspected
- `Version: npm run version [args: major | minor | patch]`: Increment the `package.json` version of backend.
- `Publish: npm run publish:dry`: Dry run `npm run publish` to check its contents
- `Publish: npm run publish`: Publish the package to the npm registry
# Steps to test package
- `npm run pack`: Packs `auths` into a tarball
- Extract tarball and setup test project.
- Run Project
- `npm run publish:dry`: Runs `npm publish` command without publishing it to npm registry and check publish log.
# Contribution Docs
- [contrib.md](/backend/contrib.md)
# References
- [NPM Commands](https://docs.npmjs.com/cli/v7/commands/npm)
- [NPM Workspace](https://docs.npmjs.com/cli/v7/using-npm/workspaces)
- [ts-node-dev](https://www.npmjs.com/package/ts-node-dev)