Welcome to the SDK Backend Node Example project, a hands-on guide demonstrating how to leverage the power of Push Protocol in a backend environment using Node.js. This resource is an invaluable companion for developers keen to integrate Push Protocol into their backend services. Dive into the code to gain a comprehensive understanding of how to deploy various features of the Push Protocol in a Node.js backend.
The sdk-backend-node
project offers a practical tutorial on how to set up and configure Push Protocol on a server, including guidance on managing notifications and interfacing with the blockchain. This includes essential examples related to:
- Push Notifications
- Push Chat
- Push NFT Chat
- Push Video
Through these examples, you'll see how these features can be successfully implemented and integrated using Push Protocol.
Embark on your journey with this project by cloning the repository and installing the dependencies:
git clone https://github.com/push-protocol/push-sdk.git
cd push-sdk
yarn install
Note - We are using yarn
and strongly advise to use yarn 1.x to avoid any NPM issues.
- Navigate to the
packages/examples/sdk-backend-node
directory.cd packages/examples/sdk-backend-node
- Set up your environment variables by creating a
.env
file based on the provided.env.sample
file. - Install the node dependencies
yarn install
yarn start