Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

billy-the-ape/alphabot-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

alphabot-api-example

A basic nodejs + express example of receiving and valdiating webhooks with the Alphabot API for real-time data updates from Alphabot.app

Steps to run & receive webhook events locally after cloning or forking this repo:

  1. Copy .env.local.example and paste, leaving the file name as just .env.local
  2. Populate the ALPHABOT_API_KEY in the new file with your value from your Alphabot profile
  3. Run yarn && yarn start - this will start the node server at port 8080
  4. Run ngrok http 8080 in another terminal, after setting up a free ngrok account (or your choice of localhost tunneling services) to make your webhook a public URL on the internet.
  5. Copy the Forwarding url (should end with .ngrok-free.app) and paste it into your Webhook url in your Alphabot profile
  6. You are now receiving Alphabot webhooks and receiving real time data updates. Congratulations!

You could easily connect your fork to a new website at render.com or similar if you prefer to run the node server in the cloud.

About

No description, website, or topics provided.

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors