Building web apps with MEAN
//aymen.co
Labidi Aymen
CEO & Founder at Kitchenet
Founder of :
Docteury.tn , Assisty.tn
Tunisian Node.js community
Script.tn (online javascript code editor)
_jsy (A lightweight JavaScript Library & node module)
Node.js History
- 2009 birth of Node.js
- 2011 NPM created
- 2014 io.js
- 2015 Node.js foundation & Node.js relased
Why Node.js is fast
Express.js
Fast, unopinionated, minimalist web framework for Node.js
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.send('hello world');
});
Simple web app with Node.js
//directory structure
├── app.js
├── bin
│ └── www
├── package.json
├── public
│ ├── images
│ ├── javascripts
│ └── stylesheets
│ └── style.css
├── routes
│ ├── index.js
│ └── users.js
└── views
├── error.jade
├── index.jade
└── layout.jade
Express application generator
Tools
Node.js //nodejs.org/en
Sublime text //www.sublimetext.com/3
Cmder //cmder.net
Mongodb //www.mongodb.com
Robomongo https://robomongo.org/download
Node.js
By labidi aymen
Node.js
- 240