The source code for this course
Creating our first server
Understanding the request and response objects
Asynchronous vs synchronous
Introduction to express framework
Sending HTML files with express
Static assets with express
Introduction to templating engines
Introducing layouts in templating engines
Refactoring post and contact page to edge
CRUD operations with mongoose models
Reading data from database using mongoose
Getting single database documents
Deleting database records
Displaying a list of posts
Dynamic data with templating engines
Adding database fields to the schema
Renaming description to subtitle
Image upload with express
Saving uploaded images to database
Introduction to express middleware
Registering validation middleware
Handling user registration
Mongoose model validation
Persistent express sessions
Authentication middleware
Displaying validation errors
Displaying validation errors in template
Persist request data on form
Redirect if auth middleware
Conditionally display login and register links
Relating the post collection with the user collection
Display post with user data
File upload to cloudinary