A fast & fun way to build portable cloud-native applications
A basic back-end for a messaging app. Useful as a functioning WebSocket example that you can use as a foundation for more advanced applications.
Follow the steps in the installation guide
yarn install
nitric start
Using your favourite Websocket tool such as Postman, connect to your Websocket endpoint, by default this is - ws://localhost:4001
Then simply send messages from multiple client connections.
Nitric is a framework for rapid development of cloud-native and serverless applications. Define your apps in terms of the resources they need, then write the code for serverless function based APIs, event subscribers and scheduled jobs.
Apps built with Nitric can be deployed to AWS, Azure or Google Cloud all from the same code base so you can focus on your products, not your cloud provider.
Nitric makes it easy to:
- Create smart serverless functions and APIs
- Build reliable distributed apps that use events and/or queues
- Securely store and retrieve secrets
- Read and write files from buckets
The full documentation is available at nitric.io/docs.
We're completely open-source and encourage code contributions.
-
Ask questions in GitHub discussions
-
Find us on Twitter
-
Send us an email
-
Jump into our Discord server