Like any other web application your MEAN project need an authentication system to protect sections. User must register to visit some page or use some feature. For the Express framework the best solution you can take is to use a module called PassportJS. Passport can be use to authenticate users with more then 140 strategies like local storage, facebook, google or twitter.
Probably if you are developing web app you have found yourself reloading pages over and over again. Every little change in your code require a reload of the page by pressing F5. In this tutorial we are going to see how to use Grunt with Watch and Express to have a page autoreload every time a file change in the application.
If you are here you are probably starting a new project from zero. Usually start developing on the mean stack without a framework but only with an empty folder can be frustrating. There is valid alternative out there like MEAN.io and the MEAN.js framework but using this framework can be too much for a simple code test and usually it put a lot of useless things in the pot.
Markdown is the language used today to write content in a lot of site and CMS. The language can be translated to HTML and other various language.
From wikipedia :
Last day i was excited when reading about the GridFS feature of mongoDB.
GridFS is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.
Instead of storing a file in a single document, GridFS divides a file into parts, or chunks, and stores each of those chunks as a separate document. By default GridFS limits chunk size to 255k. GridFS uses two collections to store files. One collection stores the file chunks, and the other stores file metadata.
What we want to achieve with this tutorial is the ability for our app to upload a file from a form and save it to a mongoDB – GridFS store and the retrive it with a GET call.