https://github.com/dipen-dedania/ifttt-boilerplate
ifttt boilerplate with NodeJS & Express
https://github.com/dipen-dedania/ifttt-boilerplate
automation boilerplate express ifttt iot nodejs
Last synced: about 1 year ago
JSON representation
ifttt boilerplate with NodeJS & Express
- Host: GitHub
- URL: https://github.com/dipen-dedania/ifttt-boilerplate
- Owner: Dipen-Dedania
- Created: 2018-02-16T20:19:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T06:45:36.000Z (over 1 year ago)
- Last Synced: 2025-03-24T07:38:52.673Z (over 1 year ago)
- Topics: automation, boilerplate, express, ifttt, iot, nodejs
- Language: JavaScript
- Homepage:
- Size: 321 KB
- Stars: 19
- Watchers: 4
- Forks: 6
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ifttt-boilerplate

IFTTT is a free platform that helps you do more with all your apps and devices.
If you are looking to create a service or trigger that you can publish into IFTTT, here's a sample project that you can built upon.
In, IFTTT official site, you will find a **Hello World!** program in RUBY (not a big fan :P).
So here's one with **NodeJS** & Express framework.
## Setup
* Just fork this repo. Clone it into your local PC and run below commands.
```
npm install
```
* You are almost ready with code. Now go to the https://platform.ifttt.com/services and create your own service.
* Now, navigate to API tab (https://platform.ifttt.com/services/{your-service-name}/api), and copy your service key to the config file.
* Create a new trigger (my_trigger)
* Create a new action (say-hello)
* Now run over NodeJS application.
Are you still with me? Good. Now you can run NodeJS application by:
```
node server.js
```
Fire up this http://localhost:8080/ . There you go, our Hello world application up and running.
Now, we need IFTTT to test our local service. Download Ngrok (https://ngrok.com/) and run it.
```
ngrok.exe http 8080
```
Paste this ngrok URL to IFTTT API URL.

Great! Everything is up and ready to test. Let's go to endpoint_tests page & click on **Begin test**.

You should be able to use this service/triggers into Applets. Customize triggers and service code as per your need. Enjoy!