You are on page 1of 2

CAP919:SERVER SIDE DEVELOPMENT WITH NODE.

JS

L:2 T:0 P:4 Credits:4

Course Outcomes: Through this course students should be able to

CO1 :: write and launch Node apps

CO2 :: construct Express web servers and APIs

CO3 :: integrate Node apps with Mongoose and MongoDB

CO4 :: demonstrate deployment of Node apps to production

SYLLABUS:

Unit-1
Getting setup: Installing Node, what is Node, why should I use Node, installing Atom, Hello World
example.

Unit-2
Node.js Fundamentals: using require, requiring your own files, using 3rd party modules, restarting
app with Nodemon, getting input from user, simplified input with Yargs, working with JSON.

Unit-3
Note App: adding and saving notes, refactoring for reusability, removing a note, reading notes and
reusability, debugging node.js applications, debugging via chrome dev tools, listing notes, requiring
arguments and advanced Yargs, arrow functions.

Unit-4
Web Servers: Hello Express, creating a web server, rendering templates with data, advanced
templating, express middleware, adding version control (git), setting up GitHub & SSH key.

Unit-5
Application Deployment: deploying your apps, adding a new feature and deploying.

Unit-6
MongoDB, Mongoose, and REST APIs: installing MongoDB and RoboMongo (windows), building a
NoSQL vocabulary, connecting to Mongo and writing data, the ObjectId, fetching data, setting up the
repo, deleting documents, updating data, the Mongoose ORM, setting up mongoose, validators, types
and defaults, installing postman.
PRACTICAL

1. Demonstration on setting up the system for node.js


2. Demonstration and implementation of Node.js fundamentals such as using require, requiring
your own files, using 3rd party modules, restarting app with nodemon, getting input from
user, simplified input with yargs, working with JSON.
3. Demonstration and implementation of Note App functions such as adding and saving notes,
refactoring for reusability, removing a note, reading notes and reusability, debugging node.js
applications, debugging via chrome dev tools, listing notes, requiring arguments and advanced
yargs, arrow functions.
4. Demonstration and implementation of web servers such as Hello Express, creating a web
server, rendering templates with data, advanced templating, express middleware, adding
version control (Git), setting up GitHub & SSH key.
5. Demonstration and implementation of application deployment by adding a new feature and
deploying.
6. Demonstration and implementation of MongoDB, Mongoose, and REST APIs including
installation of MongoDB and Robomongo (windows), building a NoSQL vocabulary, connecting
to Mongo and writing data, the ObjectId, fetching data, setting up the repo, deleting
documents, updating data, the Mongoose ORM, setting up Mongoose, validators, types and
defaults, installing Postman.

Text Books:

1. NODE.JS IN PRACTICE by ALEX YOUNG, MARC HARTER, BEN NOORDHUIS, WILEY

References:

1. WEB DEVELOPMENT WITH MONGODB AND NODE.JS by JASON KROL, PACKT PUBLISHING,

PACKT PUBLISHING

2. WEB DEVELOPMENT WITH NODE AND EXPRESS by TODD BROWN, O'REILLY

You might also like