Book Image

Learning Single-page Web Application Development

Book Image

Learning Single-page Web Application Development

Overview of this book

Table of Contents (15 chapters)
Learning Single-page Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Dissecting and understanding the MEAN.JS generator


On a MEAN stack environment, our ecosystem is infinitely diverse, and we can find excellent alternatives to start working with RESTful APIs. We have at our hand simple boilerplates to complex code generators that can be used with other tools in an integrated way, or even alone.

Boilerplates are usually a group of tested code and are modified to provide the basic structure to the main goal and create a foundation for a web application project. Besides saving us from common tasks such as assembling the basic structure of the code and organizing the files, boilerplates already has a number of scripts and snippets ready to go.

Let's describe an alternative that we consider as a good starting point for the development of RESTful APIs with the Express framework, MongoDB database, Node server, and AngularJS.

Differentiating MEAN.JS and MEAN.io

MEAN.JS is the most popular boilerplate that is currently available. It is a fork of the original project...