
learn to build real world web apps using node express, perform templating with express, and integrate mongodb and mongoose to power a cms and shopping cart with paypal.
Explore the course's CMS and shopping cart project, enabling admin pages to add, edit, delete, and reorder content; manage products, categories, and image galleries, and complete checkout with PayPal.
Set up the project folder, initialize a new npm project, and configure package.json with the product name. Create a MongoDB Compass database named see my scar with a pages collection.
Set up a node express project by installing express, nodemon, and a template engine; configure views and public folders, create routes, and run on port 3000 to display 'working'.
Connect to MongoDB using mongoose in a Node.js Express project, install and require mongoose, set up a connection string, and organize config with a database file to manage models.
Create and organize templates using an underscore layouts folder with header and footer partials, integrate a bootstrap starter template, and render views with dynamic data like the title.
Learn to set up express routes with a dedicated routes folder and express router. Create page and admin route files and wire them with app.use and path mappings.
Install and configure express plugins for form handling, sessions, validation, and flash messages using body-parser, express-session, express-validator, and express-messages in a Node.js express project.
Create a page model for the page collection by defining a page schema with fields type, slug, and sorting, with type required and slug optional, then export the model.
Create the admin add page for pages, handling get and post requests, passing title, slug, and content to the view, and displaying the previously entered values when form errors occur.
Validate and post a new page with Express validators, ensuring title and content pass, and generate an all-caps slug from the title.
Create and save a new page by ensuring a unique slug, storing the title and slug with the page model, using flash messages and redirecting to the page list.
Implement get pages index route by querying page collection, sorting ascending, and rendering admin pages view with edit and delete links. Protect home page from edits and sorting.
Implement drag-and-drop sorting for admin pages using jquery ui sortable, assign IDs and non-sortable items, serialize the new order, and post updates to the server to update CMS page order.
Create an edit page route in express that retrieves a page by slug, passes its title, content, and id to the view, and includes a hidden id in the form.
Learn to build a post edit page in a Node.js Express CMS, validate slug uniqueness, update by id, and redirect to the updated page.
Enable a wysiwig editor in the admin area and implement a delete page flow with confirmation, including find by id, remove, flash message, and redirect.
Create a category model with a slug, configure mongoose to use pluralized collections, and wire admin routes for category management in the CMS.
Create and manage the categories index in a node.js express cms for a shopping cart, render categories, link categories, and implement get and delete category actions.
Learn to add a category in a Node.js Express CMS by creating get and post routes, generating a slug from the title, validating uniqueness, and handling errors with redirects.
Implement edit category functionality in the Node.js Express CMS project, handling slug generation and validation, render category view, ensure unique slug, and redirect back to categories after update.
Fixes the editor pages in the cms by ensuring slug and title are populated, uses the page id for edits, and redirects back to the editor after saving.
Add delete category functionality with router get delete category, ensure links point to the categories, show deletion confirmation, flash success, and return to the categories list after deletion.
Create and configure a products model with slug, description, category, price, and image fields; install and wire up file upload and image resizing for product management in express.
Build a product index in the Node.js Express CMS by counting and listing all products, rendering a view with title, price, category, and default image handling.
Learn to fetch a product via a get route and render an add product form with title, description, price, category selection, and image upload with preview.
Implement the post back flow for adding a product by validating title, description, and price, with a custom image validator for optional uploads; save product data and slug.
Fetch the product by id for the get edit page, load categories, gather gallery images, initialize error handling via session, and render the add product view with prefilled data.
Build an edit product view in a Node.js Express CMS, pre-selecting category by slug and updating title, description, and price. Implement image handling and a gallery with Dropzone uploads.
Edit a posted product by validating input, updating title, slug, description, price, and category, and replacing or removing images, then flash messages and redirect to the product page.
Demonstrates uploading gallery images via a multi-file form, posting to the product gallery route, saving to a public path, and creating 100x100 thumbnails through resize processing.
Implement gallery image deletion flow in a Node.js Express CMS, wiring a delete link with an image id to remove both original and thumbnail files and redirect with success message.
Learn how to delete a product in a node.js express cms by removing its folder and database entry using the product id, with error handling and user feedback.
Learn how to dynamically populate the front header menu from CMS pages in a Node.js Express app, including slug mapping, titles, and live reordering considerations.
Fix the admin to frontend sync by implementing a callback-driven flow that updates and saves all pages, ensuring changes reflect correctly on the frontend.
Enable dynamic page links by routing a slug to fetch a page with a page model findOne, render its title and content, or redirect to home if not found.
Display categories on the front end by wiring a category model, fetching all categories, and looping through them to render left-side links to products using category slugs.
Create an all products page by retrieving all products, rendering the all_products view, and displaying each product’s image, title, price, and category with links to details.
Display products by category in a Node.js Express CMS, using a category slug route to fetch the category and its products with a dynamic title.
Create the product details view in a Node.js Express CMS, fetch the product by slug, and render a page with title, description, price, and gallery images plus an add-to-cart option.
Set up a session-based cart to store product objects, wire a cart route and header display that shows the number of items or zero when empty.
Implement add to cart in a Node.js Express app by using a session-based cart, locating products by slug, and updating quantities or adding new items.
Create a checkout page that renders the cart with product image, title, price, and quantity, computes subtotals and total, and offers add, remove, clear actions and a PayPal checkout.
Learn to update a shopping cart in a Node.js Express CMS project by handling add, remove, and clear actions, updating the session cart, and clearing it when empty.
Implement clear cart functionality in a Node.js Express CMS shopping cart, adding a /clear route, session-based cart removal, and a flash message to confirm and reset the cart.
Add PayPal checkout to the shopping cart using an item-by-item method, with a sandbox account and per-item form inputs for name, amount, currency code, and quantity.
Enhance the checkout experience in a Node.js Express CMS and shopping cart by enabling a buy-now button, redirecting to PayPal, and updating the UI with quantity and totals.
Enable secure user authentication in a Node.js express project by setting up a user model and passport local strategy, including password hashing, serialization, deserialization, and applying passport middleware.
Create the register view and user routes, integrate passport, build a register form with name, email, username, password, and confirm password, and handle post request to /users/register with login links.
Implement a post /register route that validates name, email, username, and password, checks for unique usernames, hashes the password, saves the user, and redirects to login.
Implement login in an Express app with get and post routes using passport local authentication, render login/register views, manage redirects and flash messages, and enforce login for purchasing.
Explore implementing logout flow in a Node.js express CMS, including login, register, admin area access, flash messages, redirects, and proper alert styling for success and error feedback.
Implement access control in a Node.js Express app by creating auth checks, distinguishing users and admins, and protecting routes like products and admin pages with redirects and flash messages.
Learn how to enhance a page by adding text and h1 headings to sections like about us, services, blog, and contact us, then preview the updated pages.
Take advantage of ten-dollar course offers and access great deals and the best prices through the instructor's website.
An in-depth, practical course teaching you how to build web apps with node.js and express using mongodb as the database.
After finishing this course you will be able to build almost any kind of an application using node/express.
NOTE: You should have node and mongodb installed on your machine before starting this course, I do not show how to install either.
NOTE 2: If the current asking price is too much for you feel free to message me for a discount!