Mutliple applications build with Express.js on the back-end, different projects may use different templating engine or Front-end framework.Have fun with projects.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request.
All the projects are built following the tutorial from Brad Traversy, thanks for providing such good material.
A simple online chat application built with socket.io and Express.js on the back-end and Jade(pug) as view engine. People can join the chat and post in real-time.
- Express.js: backend framework
- Pug: view engine
- Socket.io: real-time engine
- Bootstrap: layout and styles
- Install dependencies:
npm install - Install bootstrap:
bower install bootstrap
Desc :Real-time online chatting app, can be plugin to any existing Express.js project.
To run this application:
- Route to project folder and use
npm startto start the server. - Open browser and go to
http://localhost:3000 - Enjoy the chat app.
A simple login and authentication application. The project use back-end server local authentication method and can be integrated into any [Express.js] web applications.Database is MongoDB.
- Express.js: backend framework
- handlebars: view engine
- Passport.js: real-time engine
- Bootstrap: layout and styles
- Mongoose: MongoDB ODM
- MongoDB: Database
- Install dependencies:
npm install - Install bootstrap:
bower install bootstrap
Desc :Simple login, register, authentication application.
To run this application:
- Route to project folder and use
npm startto start the server. - Open browser and go to
http://localhost:3000 - Enjoy the chat app.
A simple PC reqair website application
- Express.js: backend framework
- pug: view engine
- Install dependencies:
npm install - Install bootstrap:
bower install bootstrap
Please modify the code in routes/contact.js to config the nodemailer so that the server can send email to notify.
var transporter = nodemailer.createTransport({
service : 'Gmail',
auth : {
user : 'jd@gmail.com',
pass : 'password'//not real
}
});
var mailOptions = {
from : '"JohnDoe" <jd@gmail.com>',
to : 'pcrepair@gmail.com',
subject : 'Hello from PC Repair',
text : 'You have a submission from... Name : ' + req.body.name + ' Email : ' + req.body.email + 'Message' + req.body.message,
html : '<p>You have a submission from...</p><ul><li> Name : ' + req.body.name + '</li><li> Email : ' + req.body.email + '</li><li> Message : ' + req.body.message + '</li></ul>'
}
transporter.sendMail(mailOptions, function(error, info){
if(error){
return console.log(error);
}
console.log('Message Sent: '+info.response);
res.redirect('/');
});
To run this application:
- Route to project folder and use
npm startto start the server. - Open browser and go to
http://localhost:3000 - Enjoy the chat app.
A simple ToDoList application.
- Express.js: backend framework
- ejs: view engine
- MongoDB: Database
- Install dependencies:
npm install
To run this application:
- Route to project folder and use
npm startto start the server. - Open browser and go to
http://localhost:3000 - Enjoy the chat app.




