An open API service indexing awesome lists of open source software.

https://github.com/danielnaab/month-stuff

Build your own gift of the month club, built with Mercury
https://github.com/danielnaab/month-stuff

Last synced: 11 months ago
JSON representation

Build your own gift of the month club, built with Mercury

Awesome Lists containing this project

README

          

# Month Stuff
This project is in-progress. Don't expect it to work without headaches.

## Info
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.

## Set up
```shell
npm install
```

## Environment Configuration
The 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

## Development Server
```shell
gulp watch
```

There 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.

[virtual-dom]: https://github.com/Matt-Esch/virtual-dom
[Mercury Framework]: https://github.com/Raynos/mercury
[amazon.com]: http://www.amazon.com