/express-blog-tutorial

A blog created using the express.js framework.

Primary LanguageJavaScript

Express Tutorial

This is a small blog application created using express.js framework. I created it to learn about the framework. The blog allows you to view recent posts. You can navigate to other pages and login and logout. You can also create a new post.

You can learn more about express here - https://expressjs.com/.

The walkthrough guide for this repo can be found here - https://wftutorials.wordpress.com/2019/01/20/express-js-tutorial/

Preview

https://wftutorials.files.wordpress.com/2019/01/express_screenshot.png

Installation

# download repo
git clone https://github.com/wyntonfranklin/express-blog-tutorial.git

# Go into repo
cd express-blog-tutorial

#Install dependencies
npm install

#run the app
npm start

Features

  • Create blog post
  • View blog post
  • Navigate pages
  • Login and Logout
  • View Recent blog posts

Topics Covered

  • Debuggin
  • Posting from a form
  • Authentication using passport
  • Routing
  • View engines and ejs
  • Importing assests
  • MongoDB
  • Application setup ( mvc, directory structure )