Skip to content

Full-stack CMS-style blogging website created following the MVC paradigm.

License

Notifications You must be signed in to change notification settings

AlishaSaleh/tech-blog

Repository files navigation

Tech Blog

Description

This full-stack project involved creating a CMS-style bloggin site following the MVC architectural paradigm. The website allows users to create an account, create blog posts, edit and delete blog posts, and comment on blog posts. When a user has been inactive for 20 minutes, the session timesout and the user is automatically logged out. Features and technologies of this project include:

  • Sequelize and ORM
  • Express (including sessions)
  • Express Handlebars for views
  • MySQL
  • Additional packages including dotenv and bcrypt
  • Deployed to Heroku

Deployed URL

Click here for the deployed URL

Installation

  • To install the necessary packages to run this application, run npm install in your CLI
  • To use the database: change the credientials in config/connection.js to your own and run schema.sql in your database management application
  • To use the application in a localhost run node server.js

Usage

The following screenshot demonstrated the homepage as a logged in user:

homepage

When a user loggs in, they are presented with their dashboard which allows them to create blog posts, view their blog posts and delete their blog posts:

user dashboard

They can view blog posts, add comments and (if it is their own blog post) they can edit their blog post:

blog logged in

If a user is logged out, they will not be able to edit or add comments:

blog logged out

License

This project was created under the MIT License

License

About

Full-stack CMS-style blogging website created following the MVC paradigm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published