Getting MEAN with MEMEs
With Membership
Suggested price

Getting MEAN with MEMEs

Deploying MEAN TODO application to production

About the Book

Want to learn how to create a full blown TODO application with the ever so slightly popular MEAN stack? This is a step by step guide (not skipping anything "obvious") to take your app from an idea to actual production. You might have noticed the misspelled prouduction? Well, actually, if it's in production and you're proud, I call it prouduction ;)

This book is actually a collection of 4 massive posts (the book has 150+ pages) which I wrote for

About the Author

Nikola Brežnjak
Nikola Brežnjak

Nikola Brežnjak is an engineer at heart and a jack of all trades kind of guy. For those who care about titles, he has a masters degree in computing from FER ( For the past 7 years he worked in a betting software industry where he made use of his knowledge in areas ranging from full stack (web & desktop) development to game development through Linux and database administration and use of various languages (C#, PHP, JavaScript to name just a few). Lately he’s been interested in the MEAN stack, Ionic framework and Unity3D. Also, he likes to help out on StackOverflow where he’s in the top 0.X% currently.

You can find out more about him through his site at

Table of Contents

  • How to get started on the MEAN stack
    • TL;DR
    • One language to rule them all
    • What is MEAN, and why it’s GOOD?
    • Installing MongoDB
    • Using the MongoDB shell
    • Installing Node.js
    • Running Node.js
    • Installing Express
    • Lets organize with package.json file
    • AngularJS
  • Delving into Node.js and Express web framework
    • TL;DR
    • Aftermath of the first tutorial
    • Enter the depths of Node.js
    • Conclusion
  • MongoDB CRUD the MVC way with Passport Authentication
    • TL;DR
    • Le finished project download
    • Let’s demystify this MongoDB thing
    • Mongoose
    • User authentication with Passport
    • Le wrap up
  • Finishing Angular TODO application and deploying to production
    • TL;DR
    • What are we going to build?
    • Let’s rock ‘n roll
    • Let’s make this infamous TODO app
    • TODO CRUD elements
    • Deploying me gently
    • Show must go on

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub