This repo provides a the node.js API code setting up Webhooks on Heroku. This codebased provides the webhook code to accept webhook events from Takeshape.io and populate data in Algolia.
If you are following the Medium.com Project to build own search engine, use this to get started.
FYI - Formagg.io is a cheese search engine. This repo is used for a 'Mechanics of Search' class at Lesley University.
The following at
ALGOLIA_ADMIN_KEY
- An Algolia Admin API Key. Allows writes.ALGOLIA_APPID
- Algolia Application ID.TAKESHAPE_KEY
- Takeshape Project IdTAKESHAPE_KEY
- Takeshape API Key (assumes a read or read/write API key)
This creates two endpoints.
/webhook
- Expects a Takeshape.io Webhook Post. Uses the content type and content ID to post to Algolia./rebuild?contentType=
- Does a full port/rebuild of data from a Takeshape.io content type to Agolia index.
This code creates an index in Algolia using the Takeshape content Id.
- Takeshape.io - Content-as-a-Service - Provide data modeling UI.
- Algolia.com - Search-as-a-Service - Provides Search Index.
- Heroku.com - Webhook endpoint hosting.
All three of these services offer free plans that allow students to build an end to end search engine without spending a dime.
The following are specialized domains for different topics and interests; from types of berries, to the best roads to drive fast.
- Farms Near Me (https://farmsnearme.netlify.com/)
- Vivo Vinoa (https://vivovino.netlify.com/)
- Chug (https://chug.netlify.com/)
- Berry Land (https://berryland.netlify.com/)
- Driven (https://roadsdriven.netlify.com/)
- Harry Potter Land (https://harrypotterland.netlify.com/)
- Hidden Bookstores (https://hidden-bookstore.netlify.com/)
- Pot Head (https://pothead.netlify.com/)
- Ice Cream Land (https://icecreamland.netlify.com/)
- Sunscreens (https://sunscreens.netlify.com/)