Skip to content

A Web App and RESTful API Server Using the MEAN Stack: MongoDB, Express, AngularJS, and Node.js

Notifications You must be signed in to change notification settings

amirlatifi/minimal-mean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Web App and RESTful API Server Using the MEAN Stack: MongoDB, Express, AngularJS, and Node.js

It's based on a tutorial on heroku: Create a Web App and RESTful API Server Using the MEAN Stack And currently, one of the difference is using mongoose for database modeling and interactions.

MEAN stack

The MEAN stack is a popular web development stack made up of MongoDB, Express, AngularJS, and Node.js. MEAN has gained popularity because it allows developers to program in JavaScript on both the client and the server. The MEAN stack enables a perfect harmony of JavaScript Object Notation (JSON) development: MongoDB stores data in a JSON-like format, Express, and Node.js facilitate easy JSON query creation, and AngularJS allows the client to seamlessly send and receive JSON documents.

MEAN is generally used to create browser-based web applications because AngularJS (client-side) and Express (server-side) are both frameworks for web apps. Another compelling use case for MEAN is the development of RESTful API servers. Creating RESTful API servers has become an increasingly important and common development task, as applications increasingly need to gracefully support a variety of end-user devices, such as mobile phones and tablets. This tutorial will demonstrate how to use the MEAN stack to rapidly create a RESTful API server. AngularJS, a client-side framework, is not a necessary component for creating an API server. You could also write an Android or iOS application that runs on top of the REST API. We include AngularJS in this tutorial to demonstrate how it allows us to quickly create a web application that runs on top of the API server.

Run

(install NodeJS, npm and MongoDB first) $ npm install $ node server.js

About

A Web App and RESTful API Server Using the MEAN Stack: MongoDB, Express, AngularJS, and Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published