sasimapatterson / tech-blog

14-MVC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tech-Blog

CMS-style blog site.

Table of Contents

  1. Descriptions
  2. Installations
  3. Usage
  4. Tech Use
  5. Contributing
  6. Visuals
  7. Link

Descriptions

This tech-blog site is following the Model-View-Controller paradigm and using modularization approach.

Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.(https://en.wikipedia.org/wiki/Modular_programming)

Installations

To implement Handlebars.js for the Views folder

  npm install express-handlebars

To connect to a MySQL database for the Models, and create and Express.js API for the Controllers.

  npm install mysql2

  npm install sequelize

To use environment variables

  npm install dotenv --save

To hash passwords

  npm install bcrypt

To add authentication

  npm install express-session

  npm install connect-session-sequelize

Tech Use

Contributing

  • My instructor, Mr.Anthony Cooper

  • Slack Learning Support Team

Visuals

Homepage displaying the existing posts with the name of users and posted date.

tech-blog-homepage

Login Page for user to be able to access the blogs.

tech-blog-login

User can sign up to create an account.

tech-blog-signup

User will be able to access the posts and leave comments after logged in successfully.

tech-blog-comment

Links

Heroku

About

14-MVC


Languages

Language:JavaScript 59.9%Language:CSS 14.3%Language:Handlebars 13.2%Language:HTML 12.2%Language:Shell 0.3%