Prysmo
A service gateway framework providing lightweight bidirectional communication between your web clients and application services. Prysmo implemements a custom WebSocket protocol in one end and provides a fimiliar NodeJS API in the other.
Get Started
- Install prysmo as a dependency in your gateway project:
npm i prysmo
- In your code:
// Import the moduleconst Prysmo = ; // Instance a new serverlet server = ; // Register an endpointserver; // Start listening to default portserver;
- Connect to the websocket at
ws://localhost:7667
- Send the following message
{"endpoint":"hello"}
- You will receive a message containing:
{"endpoint":"hello","data":"Hello World!"}
Features
- WebSockets: communicates with web clients through perforance oriented technology.
- Encryption: allows secure connections over TLS.
- Session: stores your users' credentials allowing seamless interaction with stateless services.
- NodeJS: gets out of your way delivering familiar development experience.
- Logging: emits a simple
log
event exposing all relevant information. - Settings: all features farly configurable to fit in your use case.
Client Implementations
Archietcture
This is where prysmo will sit in your stack.
Documentation
Community
Meet us at: