micheqn3 / my-tech-blog

Blog site for developers using the MVC paradigm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

My Tech Blog

This repository contains a content management system blog site where developers can publish their blog posts and comment on other developers' posts as well. The application is structured using the MVC paradigm and uses sequelize as the ORM, handlebars.js as the template engine, express-session for authentication, and bcrypt for hashing passwords.

This application allows the user to perform RESTful CRUD Operations including:

  • Creating posts and comments
  • Reading other users' posts and comments
  • Updating posts and comments
  • Deleting posts and comments

Link to deployed application

https://my-tech-blog-micheqn3.herokuapp.com/

Installing locally

  1. Make sure you have Node.js to run the application
  2. Clone this repo

HTTPS: https://github.com/micheqn3/my-tech-blog.git
SSH: git@github.com:micheqn3/my-tech-blog.git

  1. Install the NPM packages

npm install

  1. Provide your MySQL credentials in an .env file and make sure your MySQL server is running
  2. Run the application in command line

node server.js

  1. View the application in the browser as it is hosted locally

http://localhost:3001/

Technologies/Languages used:

  • JavaScript
  • Node.js
  • Sequelize
  • Bcrypt
  • Connect-Session-Sequelize
  • Express
  • Express Session
  • Express Handlebars
  • MySQL2
  • Nodemon
  • Dotenv

Screenshot of pages

Log In Viewing a Post
Log in page One post
Home Page
Home page

License License: MIT

MIT

About

Blog site for developers using the MVC paradigm.

License:MIT License


Languages

Language:JavaScript 58.2%Language:Handlebars 32.9%Language:CSS 8.9%