munotes®
You are looking inside

The cover and contents of this subject are open. Every chapter unlocks when you buy.

Cover and contents

A munotes Edition munotes.in

MEAN Stack Development

B.SC. (COMPUTER SCIENCE) · SEMESTER 4

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)

For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in Second Year

Contents

Module I The MEAN stack, Node.js, Express, MongoDB with Mongoose, and Angular

  1. How This Practical Is Examined: the Journal and the Two Questions 1
  2. Full Stack Web Development: the Browser, the Server and the Database 5
  3. The MEAN Stack: Architecture and How a Request Flows 10
  4. Setting Up the MEAN Development Environment 17
  5. Introduction to Node.js and Installing It 23
  6. Your First Node.js Programs: the REPL, a File and process.argv 28
  7. package.json and npm init 34
  8. Installing Packages with npm: dependencies, node_modules and the Lock File 39
  9. Node Modules: Core, Local and Third-Party 49
  10. module.exports, exports and ES Modules 55
  11. The Event Loop 61
  12. Asynchronous Programming: Callbacks, Promises and async/await 67
  13. Events and the EventEmitter 78
  14. Creating a Basic Node.js HTTP Server 86
  15. Handling Routes and Requests in Node.js 92
  16. Reading a POST Body and Serving an HTML File in Node.js 98
  17. Introduction to Express 104
  18. Creating an Express Application 113
  19. Middleware: the Request Pipeline and next() 121
  20. Built-in, Custom and Third-Party Middleware 128
  21. RESTful Routing in Express 135
  22. Creating API Endpoints: GET, POST, PUT and DELETE 141
  23. Testing an API: curl, Postman and Thunder Client 147
  24. Organizing Express Apps with Router Modules 161
  25. Error Handling in Express 168
  26. Environment Configuration with dotenv 176
  27. Installing MongoDB and MongoDB Compass 185
  28. Databases, Collections and Documents 193
  29. The Mongo Shell: Inserting and Finding Documents 200
  30. The Mongo Shell: Updating and Deleting Documents 207
  31. MongoDB Compass: the Same Work in a Window 215
  32. Introduction to Mongoose ODM: Connecting Node.js to MongoDB 222
  33. Defining Schemas and Models 228
  34. CRUD with Mongoose: Creating and Reading Documents 234
  35. CRUD with Mongoose: Updating and Deleting Documents 240
  36. Validation in Mongoose and MongoDB 246
  37. Indexing Basics 252
  38. An Express API on MongoDB: the Students API 260
  39. Introduction to Angular: a Framework for Single-Page Applications 268
  40. The TypeScript Angular Is Written In 273
  41. Installing the Angular CLI and Creating an Angular App 280
  42. The Angular Project Structure 285
  43. Anatomy of an Angular Component 292
  44. One-Way Data Binding: Interpolation, Property Binding and Event Binding 298
  45. Two-Way Data Binding with ngModel 302
  46. *ngIf: Showing and Hiding Part of a Page 306
  47. *ngFor: Repeating Part of a Page for Every Item 311
  48. Services and Dependency Injection 317
  49. Component Communication: @Input and @Output 323

Module II Angular modules and routing, forms, Angular on a REST API, a CRUD application, and deployment

  1. NgModule and Creating a Feature Module 329
  2. Angular Routing: Setup and Navigation 335
  3. RouterLink and RouterOutlet 342
  4. Route Parameters 349
  5. Lazy Loading of Modules 357
  6. Template-Driven and Reactive Forms 365
  7. Building a Form with the Reactive Forms Module 374
  8. Form Validation and Error Messages 384
  9. Submitting Form Data to a Backend API 391
  10. HttpClient and a Data Service 397
  11. GET, POST, PUT and DELETE Requests from Angular 406
  12. Displaying Server Data in Templates 415
  13. Observables and the Async Pipe 423
  14. Error Handling in HTTP Requests 432
  15. The Student Records App: the Plan and the Backend 443
  16. The Student Records App: the Angular Frontend 451
  17. The Student Records App: Validation and User Notifications 461
  18. Deploying to the Cloud: Render or Vercel for the Backend, Netlify for the Frontend 476
  19. Preparing the Angular Build 483
  20. Serving the Angular App with Express: a Single Deployment 490
  21. Environment Variables and Production Setup 497
  22. Introduction to Git and Version Control 506
  23. Git: Branches, .gitignore and a Remote Repository 513
  24. Authentication: Passwords, Tokens and Protected Routes 523
  25. Real-Time Updates with Socket.IO 534

Module J The journal and the practical examination

  1. The Certified Journal: What Goes in It 543
  2. Practice Questions for Q.1: Module 1 549
  3. Practice Questions for Q.2: Module 2 560
munotes.in

Every chapter

Every chapter of this book opens with the notes.

The cover and the contents above are free to look through. Every chapter of every module comes with the notes, and your progress is kept as you read.

Issue