Skip to content

micheqn3/my-tech-blog

Repository files navigation

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: [email protected]: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