npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

serendip-dashboard

v1.0.6

Published

serendip business api on nodejs

Downloads

2

Readme

MIT Licence Maintenance Website shields.io Open Source Love TypeScript

SF

Serendip Business API

It's the source code of our main business API. this web API is built on Serendip framework and is responsible for

  • Authorization and authentication of serendip users both SaaS and on-premises using serendip-framework authentication
  • Handling document entity INSERT/UPDATE/DELETE/QUERY operations.
  • Storing differentiate of document versions using serendip-framework json-patch.
  • Handling upload and download streams to GridFs ( through mongodb-provider or griddb-provider ) [*this will be moved to separate micro-service]
  • Handling business(team) authorization & management on BusinessService and BusinessController

This web API provides data for other micro-services which are connected to the same database grid as this web API is. these include our input/output and trigger services, such as:

Client

We have built a client package, which is configured to work with our API on http and websocket protocol. it will easily authenticate you with our API and it will let you:

  • use our real-time event system through web socket
  • use our file streams as input and output to your system. ( fs in the cloud )
  • sync your data encrypted and browse them or get analytics from them on our dashboard serendip.cloud
  • access to our event/trigger system ( using our dashboard ) that trigger sms/email/fax/push/http_request based on insert/delete/update events on your that in real-time.

Authentication

authenticating with this API is possible with any http client for password grant type or our SSO(single sign-on) for authorization_code grant type which needs your client and it's redirect URL defined and approved in your business setting on serendip.

Usage Notes

This Web API is accessible in domains below and you need account and business created to access routes

| Request Method | URL Path | Controller > Endpoint | | - | - | - | | [POST] | /api/auth/register | AuthController > register | | [POST] | /api/auth/sendresetpasswordtoken | AuthController > sendResetPasswordToken | | [POST] | /api/auth/addusertogroup | AuthController > addUserToGroup | | [POST] | /api/auth/deleteuserfromgroup | AuthController > deleteUserFromGroup | | [POST] | /api/auth/changepassword | AuthController > changePassword | | [POST] | /api/auth/resetpassword | AuthController > resetPassword | | [POST] | /api/auth/sendverifyemail | AuthController > sendVerifyEmail | | [POST] | /api/auth/sendverifysms | AuthController > sendVerifySms | | [POST] | /api/auth/verifymobile | AuthController > verifyMobile | | [POST] | /api/auth/verifyemail | AuthController > verifyEmail | | [POST] | /api/auth/clienttoken | AuthController > clientToken | | [POST] | /api/auth/refreshtoken | AuthController > refreshToken | | [GET] | /api/auth/sessions | AuthController > sessions | [POST] | /api/auth/checktoken | AuthController > checkToken | | [POST] | /api/auth/onetimepassword | AuthController > oneTimePassword | | [POST] | /api/auth/newauthcode | AuthController > newAuthCode | | [POST] | /api/auth/token | AuthController > token | [GET] | /api/server/cluster-testing | ServerController > clusterTesting | | [GET] | /api/server/cluster-workers | ServerController > clusterWorkers | | [GET] | /api/server/routes | ServerController > routes | [GET] | /api/server/throw | ServerController > throw | [GET] | /api/server/nexterror | ServerController > nextError | | [GET] | /api/server/doneerror | ServerController > doneError | | [GET] | /api/server/services | ServerController > services | | [GET] | /api/business/list | BusinessController > list | [POST] | /api/business/grid | BusinessController > grid | | [POST] | /api/business/savebusiness | BusinessController > saveBusiness | | [POST] | /api/business/deletemember | BusinessController > deleteMember | | [POST] | /api/business/addmember | BusinessController > addMember | | [POST] | /api/entity/:entity/zip | EntityController > zip | | [POST] | /api/entity/export | EntityController > export | | [POST] | /api/entity/:entity/details | EntityController > details | | [POST] | /api/entity/changes | EntityController > changes | | [POST] | /api/entity/:entity/list | EntityController > list | | [POST] | /api/entity/:entity/count | EntityController > count | | [POST] | /api/entity/:entity/search | EntityController > search | | [POST] | /api/entity/:entity/insert | EntityController > insert | | [POST] | /api/entity/:entity/update | EntityController > update | | [POST] | /api/entity/:entity/delete | EntityController > delete | | [GET] | /api/server/cluster-testing | ServerController > clusterTesting | | [GET] | /api/server/cluster-workers | ServerController > clusterWorkers | | [GET] | /api/server/routes | ServerController > routes | [GET] | /api/server/throw | ServerController > throw | [GET] | /api/server/nexterror | ServerController > nextError | | [GET] | /api/server/doneerror | ServerController > doneError | | [GET] | /api/server/services | ServerController > services | | [GET] | /api/storage/test | StorageController > test | [POST] | /api/storage/newfolder | StorageController > newFolder | | [POST] | /api/storage/upload | StorageController > upload | | [GET] | /dl/:first*/public/:last* | StorageController > public | | [GET] | /api/storage/preview/:path* | StorageController > preview | | [POST] | /api/storage/parts | StorageController > parts | | [POST] | /api/storage/list | StorageController > list | [POST] | /api/storage/assemble | StorageController > assemble |

API Documentation

coming soon ...

Code Documentation

This documents are auto generated from typescript source using typedocpac

Contribution

We would love for you to contribute to Serendip and help making it better!

Related

_