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
https://my-tech-blog-micheqn3.herokuapp.com/
- Make sure you have Node.js to run the application
- Clone this repo
HTTPS:
https://github.com/micheqn3/my-tech-blog.git
SSH:git@github.com:micheqn3/my-tech-blog.git
- Install the NPM packages
npm install
- Provide your MySQL credentials in an .env file and make sure your MySQL server is running
- Run the application in command line
node server.js
- View the application in the browser as it is hosted locally
http://localhost:3001/
- JavaScript
- Node.js
- Sequelize
- Bcrypt
- Connect-Session-Sequelize
- Express
- Express Session
- Express Handlebars
- MySQL2
- Nodemon
- Dotenv
Log In | Viewing a Post |
---|---|
![]() |
![]() |
Home Page |
---|
![]() |
MIT