iFly Media Purchaser App
A Node app built with Angular, Express, and a lightweight MongoDB backend. For demonstration purposes only. Angular/Express skeleton cloned from scotch-io/node-todo.
Requirements
Installation
- Clone the repository:
git clone git@github.com:bistacos/photopicker
- Install the application:
npm install
- Install MongoDB. You'll have to follow the steps detailed on the tutorial page depending on what platform you'll be running it on (OSX, Windows)
- Run MongoDB (OSX, Windows). This takes a few steps and is a bit of a pain...sorry.
- Leave MongoDB running, and in a separate tab start the app server:
node server.js
- View in browser at
http://localhost:8080
Implementation Notes
There are clearly many features that, in the interest of time, I didn't add. Unit testing, heavier parameter validation and error handling, and cloud deployment spring first to mind. I also kept the packaging lightweight and omitted a few usual no-brainers like lodash
for JS structure manipulation, as well as asynchronous DB handlers like async
and bluebird
.
I also took this opportunity to use MongoDB for the first time, so some of my usage there may be non-standard. It's as easy to use as they promise but their Quickstart documentation could use some editing :) .