moralis-stream
Run locally
- Copy
.env.example
to.env
and fill in the values - Run
yarn install
- Run
yarn start
to run the server locally
Now your server is running locally and also an ngrok tunnel has been started and logged in your console with the following endpoints:
- Client:
localhost:3000
(or any other port you set in.env
) - API:
localhost:3000/stream
(or any other port you set in.env
) - Webhook:
{ngrokurl}/hooks/stream
Learn more about ngrok and ngrok package