This project is in-progress. Don't expect it to work without headaches.
This project is a virtual-dom application built with the Mercury Framework. It implements a "build your own gift of the month club", using amazon.com as a data source.
This project is intended as a learning exercise on how to build a virtual-dom application with a hybrid client/server rendering approach. The first page view is rendered server-side, and then subsequent state changes are handled client-side.
The application will email you notifications, on a schedule, to purchase items on your list. You may create lists without authentication, or fork existing lists.
npm installThe following environment variables are expected by the server:
- AWS_ID
- AWS_SECRET
- AMAZON_ASSOC_ID (optional)
Optionally, you may set NODE_ENV to one of:
- development (default)
- production
- test
gulp watchThere are two servers run by the watch task (for now, anyway) - the server component (port 8080), and the static assets (compiled by browserify and hosted on port 9000). In production, the static assets will be hosted on a CDN.