December 15, 2013
So its been a while since I’ve blogged but work has picked up and the social life has taken over. It getting close to Christmas and as you probably know already I’m the tech monkey for the Belfast based artist group LOFT, any every year I take on the stressful role of organizing the secret santa event.
Last year I had used a third-party web-based tool that let you enter the names and email addresses of the group members, this tool then carried out the mixing and assigning of names so that everyone would get a match email telling them who they had to get a present for. However this went terribly wrong with some people getting the same match as another member, most of the emails went into junk folders and some emails did not arrive at all. Luckily we were able to pull everything together and make sure that everyone got a gift.
I decided that since this would more than likely only get used one a year and maybe never again I did not want to reinvent the wheel. I Choose to use the YOMAN tool for getting the application up and running, this also proved as a chance to trial the tool as I had never used it for an actual project. I had looked into the tool before on an old project but it was still gathering support and still needed work. Yeoman is a mix between package manage, dependency injection, scaffold workflow and build tool, well Yeoman is not all these things but more of a stack that has all the three tools that take care of this are:
Yo can use many generators, this generate the project and file based on a scaffold, the generator I decided to use was the angular-full-stack this would generate the perfect application that would suit my needs. An express (nodejs) application that would handle the server-side processing, mongoose for handling the mongoDB processing, twitter bootstrap for the front end, angularJS for the client-side processing, phantomJS and Jasmine for testing and finally Grunt for keeping everything running together. The generator also includes a process for deploying to a heroku instance I wasn’t interested in this as I would be running the app on my server but this process does work and is very easy to use as seen here(If the app hasn’t gone to sleep you should see the stock angular app from the Yo generator).
The process of using the generator is very easy and its best to follow the steps on the github repo this will take you through the full process of creating the application and building up the features you need, from there its yours for the making. The current feature list for my application is below:
Below are the proposed features for the next version hopefully developed for next Christmas:
I will hopefully get some time over the year to get the above features implemented and will keep the blog up to date with them. If you want to see the current app for yourself you can have a look here or checkout the git repo here.
© 2014 Chris Laughlin | Theme by Eleven Themes