Hello!
We have built a sample application to use as a base (archetype-like) for the forementioned stack. It is accessible on GitHub and we really welcoming everyone trying to interact with it somehow. Push it, copy, use, fork, augment - great. Comments and questions? Totally wonderful. Complaints and ideas? Great as well! We look forward to improving it.
The idea of the app is boring - it’s CRUD+S(earch) app for bookshelf functionality. Nah, boring. Node.js, elasticsearch, mognodb, ext.js and Heroku sample application; it was written in 2 days by 4 people who have never used and even tried any of this tech before. This is a great illustration of quite a fast time-to-dev. The domain itself (books) is quite non-intrusive, which means you can play around with different components easily.
As of now, here’s what we have:
- Source codes are accessible on https://github.com/Logicify/nodejs-sample-task
- The app deployed to http://nodejs-sample-task.logicify.com/ and visible in the Internet
- It has all the stuff necessary for Heroku deployment.
- Exposes minimal architecture. From the point we’ve been working with this, we’ve came to way better way of handling the configuration, exceptions, logging, etc.
- It has around half of the testing facilities (supertest, mocha, jscoverage, chaijs) setup, but is missing, for instance, nice usage of Sinon.
- Has some basic documentation.
Upcoming plans:
- Add ‘proper’ configuration handling (with several config files and env variable switching them)
- Proper logger wrapper.
- Improved testing - showcasing Sinon.js and some better assertions.
- Growing a little more functionality.
This demo was partly created as a Proof of Concept we’ve been doing for one of our customers back in May, and partly as a demo app for 2 talks me and Pavel Knorr were having on the local Kherson it-talk meetup. Still has huge room for improvement, and that’s what we’ll try to do.
Also, it was created by Logicify team
[ADS MODE ON]
we are doing great custom software development and services. You can reach me for any enquiries or use the website :)
[ADS MODE OFF]
we are doing great custom software development and services. You can reach me for any enquiries or use the website :)
[ADS MODE OFF]
, and at Logicify we really have already used this project twice as an archetype - cloning it, fixing something in it and making it effectively a seed of the new project.
So, if you’d like to interact with it - please do!
Cheers,
Alex.
Alex.
2 comments:
is there a chance you integrated your really nice app with this https://github.com/jprante/Elasticsearch-Dancer-App?
Hello Anonymous!
Took a look at the Github you have provided; looks like a nice demo app with a perl as a main platform.
I think I missed that part - would be really great if we could have that integrated, but these two are based on totally different tech!
Would be happy to discuss, though. You can chase me on GH or Facebook easily!
Best,
Alex.
Post a Comment