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
- Host: GitHub
- URL: https://github.com/danielnaab/month-stuff
- Owner: danielnaab
- License: other
- Created: 2014-12-08T05:23:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-11T22:04:09.000Z (over 11 years ago)
- Last Synced: 2025-06-25T23:36:20.857Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://www.monthstuff.com/build-club
- Size: 242 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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