For this first Laravel 5 and AngularJS tutorial we are going to build a simple Todo Application. We will use the resource routing of Laravel 5 to crete a REST API for the backend of the application and the powerfull of AngularJS for the frontend.
This tutorial suppose you have already installed Laravel and all the LAMP stack on your development machine. If not, i can suggest you to follow the official Laravel guide to get Vagrant Homestead installed.
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.
In this short tutorial we are going to see how to configure the Web server Apache HTTP to serve our MEAN application (MongoDB, Express,AngularJS, NodeJS). To make it possible we are going to use the proxy module of Apache.