Author: Rainer Stropek
Blog: http://www.software-architects.com
For my private hobby (keeping honey bees) I neede a small website where people can register. I decided to implement it using the following technologies:
- HTML/JavaScript frontend with AngularJS
- Google reCAPTCHA for making sure that only humans use the form
- JavaScript backend with Node.js
- Azure Websites for hosting the website
- Azure DocumentDB for storing registrations
- Mandrill for sending transactional emails
server.js contains the code for the backend. If you are interested in using Azure DocumentDB and Mandrill from Node.js, you might want to look at it. Additionally, it contains the server-side checking of the reCAPTCHA.
index.html contains the frontend. It uses a quite simple AngularJS form with some data binding. If you are interested in how to use reCAPTCHA, you will find the corresponding code there.