start a project once we cover the basic MERN knowledge. Requirements No prior knowledge of MERN stack is required to get the full benefit of this book, but you do need some basic knowledge of React and JavaScript. Accelerate Your Coding Journey Stop wasting your precious time trying
Node.js Web Development For Beginners: A Step-By-Step Guide to Build an MVC Web Application With Node.js, Express, and MongoDB (Code With Nathan)
✍ Scribed by Sebhastian, Nathan
- Publisher
- Independently Published
- Year
- 2024
- Tongue
- English
- Leaves
- 156
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Each chapter explains a topic in plain English and includes practical code examples. There's also a full stack project included in this book that will give you the "experience" of building a web application using Node.js.
✦ Table of Contents
Preface
Working Through This Book
Requirements
Source Code
Contact
Chapter 1: Introduction to Node.js
The Exercise Application
Computer Setup
Summary
Chapter 2: Your First Node.js Project
Creating the Server Application
Running the Server
Routing in Node.js
Adding Nodemon for Development
Summary
Chapter 3: Introduction to Express and Morgan
Using Express
Adding Morgan for Logging
Summary
Chapter 4: Using EJS Templating Engine for Views
Adding EJS to Express
Rendering EJS Template With Express
Reuse EJS Template With Partials
Summary
Chapter 5: Using Tailwind and DaisyUI for CSS
Adding Tailwind CSS to Node.js Project
Using DaisyUI
Summary
Chapter 6: Creating a MongoDB Database Cluster
MongoDB Introduction
Setting Up MongoDB Atlas Cloud
Welcome to Atlas
Create a Cluster
Security Quickstart: Set Authentication and Connection
Add a New Database User
Allow Your IP Address
Summary
Chapter 7: Integrating Mongoose to Express
Mongoose Introduction
Connecting to MongoDB Cluster
Installing Dotenv to Read Environment Variables
Summary
Chapter 8: Implementing the MVC Pattern
What’s an MVC Pattern?
Creating the User Model
Creating User Controller
Creating the User View
Creating the User Route
Running the Routes
Summary
Chapter 9: Developing User Authentication
Implementing Express Session
Creating the AUTH_SECRET Variable
Cleaning The Routes
Creating the Sign Up Page
Adding Font Awesome
Updating User Controller
Adding Express urlencoded Middleware
Adding the Dashboard Page
Summary
Chapter 10: Validating Form Inputs and Displaying Messages
Adding Validation to The Sign Up Process
Storing Error Messages in Flash
Displaying Error Messages on Sign Up Form
Preserving Input Data on Sign Up Form
Showing Toast Notification With Toastify
Summary
Chapter 11: Adding Login and Logout Functionalities
Creating the Landing Page
Updating the Dashboard Page
Adding Login Page to Views
Adding Login Function to User Controller
Adding Logout Function
Updating User Routes
Summary
Chapter 12: Protecting Routes With Middlewares
Express Middleware Explained
Adding Verification Middleware
Creating Middleware to Protect Login and Sign Up Routes
Summary
Chapter 13: Create, Read, Update, and Delete Customers
Creating the Customer Model
Creating the Customer Controller
Creating the Customer Views
Creating the Customer Routes
Creating New Customers
Add Create Routes
Updating Existing Customers
Deleting Customers
Summary
Chapter 14: Handling Invoices Data
Creating the Invoice Model
Creating the Invoice Controller
Creating the Invoice Views
Creating the Invoice Route
Create New Invoices
Update Invoices
Delete Invoices
Delete All Invoices When a Customer is Deleted
Summary
Chapter 15: Using Chart.js On the Dashboard
Formatting the Currency
Creating the Dashboard Controller
Updating the Dashboard View
Showing the Revenue Chart
Showing Five Latest Invoices
Summary
Chapter 16: Adding the Search Feature
Adding Customer Search
Adding Invoice Search
Summary
Chapter 17: Deploying Node.js Application
Preparing the Application for Deployment
Pushing Code to GitHub
Deploying Node Application to Railway
Summary
Wrapping Up
The Next Step
About the author
📜 SIMILAR VOLUMES
Packt Publishing, 2014. — Code Only. — ISBN-10: 1783987308, ISBN-13: 978-1-78398-730-6.<br/> <br/><strong>Код примеров к выложенной здесь книге в форматах <a class="object-link fpm" data-file-id="1761855" href="/file/1761855/">PDF</a>, <a class="object-link fpm" data-file-id="1761857" href="/file/17
Build your first production-grade web application from scratch using Node.js, Express, MongoDB, authentication, and testing with the help of expert guidance and step-by-step explanations Key Features Learn JavaScript, async programming, and event-driven architectures in Node.js Discover
Packt Publishing, 2014. — 294 p. — ISBN-10: 1783987308, ISBN-13: 978-1-78398-730-6.<br/> <br/><strong>Код примеров к книге выложен <a class="object-link fpm" data-file-id="1761852" href="/file/1761852/">здесь</a>.</strong><div class="bb-sep"></div><strong>Build an interactive and full-featured web a