Skip to content

Try Kinsta Now - First Month Free!

Kinsta® Navigation
  • Powerful Managed Hosting for WordPress

    Learn more
    WordPress highlights
    • Managed hosting for WordPress
    • Kinsta Automatic Updates
    • Free site migrations
    • Edge caching
    • APM tool
    • Security
    • Add-ons
    Platform highlights
    • Cloudflare integration
    • API
    • Expert support
  • We power your
    • Agency
    • Enterprise
    • Education
    • Small business
    • WooCommerce store
    • Non-profit organization
    • Single high-resource site
    • Static site
    • Web application
    • Database
    Case studies
    • KnowTechie grew its audience with 68% faster website and a 34% drop in bounce rate

      Hall scales WooCommerce client from $3M to $50M in revenue with Kinsta

    • More case studies
  • Pricing
  • Docs
  • Resources
    • Blog
    • Changelog
    • System status
    • Knowledge Base
    • Compare Kinsta to competitors
    • Development tools
    • All resources
    Contact us
    • Send us a question
    • Call sales
    • Request a live demo
    • Ask the community
Login Sign up
  1. Home
  2. Courses
  3. Complete Node.js Full Stack Developer with Photo Sharing App Project
  4. EJS Syntax

EJS Syntax

Welcome
1 min
Course Requirements
2 mins
About the Course
1 min
Technologies We'll Learn
1 min
The App We Are Going to Build
2 mins
What Is (and Isn't) Node.js?
2 mins
Installing Node.js
2 mins
Verify the Installation
1 min
Hands On: Creating Our First Server
5 mins
Running Our Server
4 mins
If / Else Statements
4 mins
What is "writeHead(404)"?
2 mins
Responding with HTML
4 mins
Chapter 1 Summary
1 min

Introducing Express
2 mins
Initializing Our Project
3 mins
Installing Express
3 mins
What IS Express (How Will We Use It?)
2 mins
Using Listeners
6 mins
Breaking Down What We're Doing with Express
4 mins
Asynchronous with Callback Functions
3 mins
Serving Static Files with Express
4 mins
Chapter 2 Summary
1 min

Starting the Photo Sharing Project Repo
6 mins
Automatic Restart with Nodemon
3 mins
Setting up Public Folder for Serving Static Files
4 mins
Creating A Nav-Bar
7 mins
Chapter 3 Summary
1 min

Templating Engines
2 mins
Views
3 mins
Partials
2 mins
EJS Syntax
6 mins
Introduction to Model View Controller
3 mins
Templating Our Project
6 mins
Chapter 4 Summary
1 min

MariaDB Introduction
3 mins
Architecture of MariaDB
3 mins
System Databases
2 mins
Configuration Files
2 mins
Installing MariaDB
6 mins
Installing Sequelize
18 mins
CRUD operations
3 mins
Chapter 5 Summary
1 min

Middleware
2 mins
Application-level Middleware
3 mins
Router-Level Middleware
2 mins
Error-Handling Middleware
3 mins
Built-In Middleware
2 mins
Third-Party Middleware
3 mins
Validation Middleware
2 mins
Custom Middleware
4 mins
Saving Uploads to Our Database
7 mins
Setting Up Our Photos Route
23 mins
Testing Our Code
6 mins
Adding Images to Our Database from Our UI
13 mins
Chapter 6 Summary
1 min

Creating Signup Pages and Routes
4 mins
Creating our EJS SignUp Page
6 mins
Login Page
2 mins
Special Note on Dumping the Database
4 mins
Chapter 7 Summary
1 min

Encrypting our passwords
7 mins
User Authentication with Express Sessions
6 mins
Implementing User Sessions
6 mins
Conditionally Display Add Photo, Login, Signup Links
5 mins
Logging Out
4 mins
Chapter 8 Summary
1 min

Populating Our Images on The Home Page
7 mins
Comments
3 mins
Chapter 9 Summary
1 min

Preparing Our Application for Production
2 mins
Error Handling
6 mins
Adding Additional Logging with Morgan
3 mins
Answering 404 Calls
3 mins
Sanitizing Files (Security)
4 mins
Preventing Overwrite + Start Command
2 mins
Chapter 10 Summary
1 min

Preparation for Deploying to Kinsta
3 mins
Deploying to Kinsta
2 mins
Course Summary
1 min

More Courses

Custom Gutenberg Block Development With the WordPress Block Editor

Updated date
October 9, 2023
Post type
Course

How to Optimize Your WooCommerce Store

Your WordPress theme influences the success of your WooCommerce website. Learn why WordPress theme could affect your site speed, ways to determine…
Updated date
October 16, 2023
Post type
Course

How to Speed Up Your WordPress Website

Updated date
October 9, 2023
Post type
Course
  • Products

    • Managed Hosting for WordPress
    • Web Application Hosting
    • Managed Database Hosting
    • Static Site Hosting
    • Pricing
  • Feature highlights

    • Kinsta Automatic Updates
    • Cloudflare integration
    • Kinsta API
    • Expert support
    • Free WordPress migrations
    • APM tool
    • DevKinsta
    • Edge Caching
    • Dedicated Hosting for WordPress
    • Add-ons
  • Use cases

    • Enterprise
    • Agency
    • Education
    • WooCommerce store
    • Small business
    • Non-profit organization
    • Single high-resource site
    • Case studies
  • Resources

    • Documentation
    • Changelog
    • Blog
    • Kinsta Newsletter
    • Knowledge Base
    • Development tools
    • Kinsta vs competitors
    • Agency directory
    • System Status
    • All resources
  • Company

    • About us
    • Why choose Kinsta
    • Careers
    • Partners
    • Affiliate program
    • Press
    • Security and trust
    • Legal and Privacy
    • Contact Us

We take security and privacy seriously

Learn more about security and compliance at Kinsta
  • SOC 2 Type II
  • ISO 27001
  • GDPR
  • CCPA
  • Kinsta on GitHub
  • Kinsta on Twitter
  • Kinsta on YouTube
  • Kinsta on Facebook
  • Kinsta on LinkedIn

© 2013 - 2025 Kinsta Inc. All rights reserved. Kinsta®, MyKinsta®, and DevKinsta® are trademarks owned by Kinsta Inc. The WordPress® trademark is the intellectual property of the WordPress Foundation, and the Woo® and WooCommerce® trademarks are the intellectual property of WooCommerce, Inc. Uses of the WordPress®, Woo®, and WooCommerce® names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation or WooCommerce, Inc. Kinsta is not endorsed or owned by, or affiliated with, the WordPress Foundation or WooCommerce, Inc.