

thegeez blog - Using SendGrid with Clojure in The Next Web HackBattle
source link: http://thegeez.net/2014/04/24/tnw_hackbattle_sendgrid.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Using SendGrid with Clojure in The Next Web HackBattle
24 Apr 2014
This week is The Next Web conference in Amsterdam, where I participated in the HackBattle. Like I did two years ago, I took a project I am currently working on and tried to use one of the HackBattle API partners. Last time I used BrowserChannel and the Rijksmuseum API. The current project I am working on is to complete the Clojure web application story by building a back-end for a TodoMVC ClojureScript front-end. I've integrated SendGrid's Inbound Parse Webhook API to be able to add todos via email.
Using SendGrid you can send an email with your todo to add it to your todo list, when you use your profile name in the subject line. On the server side this was easily implemented by adding a POST handler and setting some DNS settings properly.
To make your emailed todos show up instantaneously, the todo page now also has Server Sent Events for push notifications.
You can try it for yourself at clj-crud.herokuapp.com. The main page includes instructions on how to sign up or log in using one of the demo accounts. Once you're logged in click the "Todos" button in the menu bar to go to the TodoMVC page. There you'll find the instructions on how to add a todo via email.
Recommend
-
18
Dutch Clojure Days 2017: crepl demo13 Apr 2017 At the Dutch Clojure Days 2017 in Amsterdam I gave a lightning talk about crepl. With crepl you...
-
11
crepl and c3e at Dutch Clojure Days 201725 Mar 2017 Today was the 2017 edition of Dutch Clojure Days (DCD17), the annual international gathering of Clojure enthusiasts and practitio...
-
4
A wiki made with Clojure, yada and Datomic Client04 Jan 2017 At EuroClojure in Bratislava an unconference session was about Clojure and REST. At this session Liber...
-
10
Parsing with clojure.spec for the Advent of Code09 Dec 2016 Advent of Code is a series of code challenges in the form of an advent calender, counting down to Christmas. The chall...
-
11
Trello clone clone in Clojure22 Sep 2016 The Phoenix-Trello project is a Trello clone build with Elixir, Phoenix and React. I like the dragging cards interface in...
-
14
Pedestal and w3a walkthrough: Build a CRUD app with Clojure15 Feb 2016 This is a walkthrough on how to build a complete user facing web application with Clojure on top of Pedestal, with...
-
15
Datascript and React.js for a Clojure web app30 Apr 2014 When building a web application with Clojure there are a lot of building blocks to choose from. For ClojureScript there has been a particularly interesting new offer with t...
-
20
October Amsterdam Clojure Presentation28 Oct 2012 The slides from my presentation at #OctAmsClj are in the ams-clj repo: Simpl...
-
16
BrowserChannel and the Rijksmuseum API at The Next Web HackBattle16 May 2012 The last The Next Web conference in Amsterdam on the 23rd to 25th of April 20...
-
8
Using SendGrid with Clojure in The Next Web HackBattle24 Apr 2014 This week is The Next Web conference in Amsterdam, where I participated in the
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK