Skip to content

This app is a blog-style website and a full-stack application where users can sign up, create posts, and comment on each others posts.

Notifications You must be signed in to change notification settings

pmacdonald07/tech-blog-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech-Blog-MVC

This application is live here: https://floating-cliffs-88153.herokuapp.com/

Description

This is a full-stack application that serves as a blog-style website where users can post an comment on other user's posts. Tech Blog follows the MVC paradigm (Model, View, Controller), uses Handlebars as the templating language for server-side rendering, and uses Sequelize as the ORM.

Table of Contents

Installation

Usage

Functionality

License

Contributing

Tests

Questions

Instillation

If a user wanted to install the dependencies required for this application, they would first need to clone the GitHub repository. Then, they would need to run the command "npm install" at the root directory of the application. The dependecies that are required for this application are: Bcrypt, Connect-Session-Sequelize, Dotenv, Express, Express-Handlebars, Express-Session, MySQL2, and Sequelize.

Usage

The primary function of this application is to be a blog-style website for users to share tech related news and opinions. Fellow developers could use this application as an example of a full-stack web app.

Functionality

This application uses a MySQL database, created with MySQL2 and Sequelize. When users sign up, bcrypt hashes their passwords. Express-Session stores the session data on the client in a cookie and provides authentication. The app uses Handlebars for templating, and conditionally renders nav links based on whether or not a user is logged in, along with users' posts if they have any. The app handles users' posts (created, editing, and deleting), and comments with API routes. The homepage displays all posts: tech-blog-homepage

A user's dashboard gives them the option to create new posts and shows their existing posts: tech-blog-dashboard

When a user clicks on the title of another user's posts, they are taken to that post and given the option to comment on it: tech-blog-posts

License

There are no licenses associated with this project.

Contributing

Guidelines for contributing to this project: There are currently no guidelines for contributing to this project.

Tests

There are currently no tests for this application.

Questions

If you have any questions about the project, please reach out via the following:

Github Profile

patrickmacdonald07@gmail.com

About

This app is a blog-style website and a full-stack application where users can sign up, create posts, and comment on each others posts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published