Skip to content

A CMS-style blog site, where users(developers) can publish their blog posts and comment on other users’ posts as well. This application follows the MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.

Notifications You must be signed in to change notification settings

ayacomputer/14-MVC-Tech-Blog

Repository files navigation

License: MIT


MVC-Tech-Blog

Table of Contents
  1. About The Project

  2. Getting Started

  3. License
  4. Contact

About The Project

ProductScreen Shot

This is a CMS-style tech blog site where developers can publish their blog posts and comment on other developer's posts as well. When the user visit the site for the first time, they will be presented with the homepage which includes existing blog posts. Also, the user can see the navigation links for the homepage and the dashboard and the option to sign up or log in. The first time user can sign up with their user name and email and password. Once the user sign up or log in, they can see their dashboard where they can create the new blogs and their existing blog. They can also click the links for their existing blog to edit or click the delete button to delete the blog. When the user click the home button on the navigation bar, they can see all the blogs and also they can click each blog link to see the comments or comments. To comment a blog, the user need to log in.

(back to top)

Built With

(back to top)

Usage

Click the following link to see the deployed application.

If you log in as Minnie Mouse,
email: [email protected] | password: password23456 You can see the edit and delete buttons for existing blogs and comments.

Heroku: https://ayacomputer-mvc-tech-blog.herokuapp.com/

Login Preview: login

Dashboard (create new blog, edit or delete old blog) dashboard

Edit Blog: editBlog

Comment: comment

Edit & Delete Comment: editcomment

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

1: The application will be invoked by using the following command:

 git clone [email protected]:ayacomputer/14-MVC-Tech-Blog.git

2: Make sure that .env file has your DB password

Please do not forget to write your secret at DB_SECRET How to set the env file.

3: Install npm packages

npm i

4: Run mysql and source db.schema.sql by using the following commands:

mysql -u root -p

(enter your mysql password)

source db/schema.sql;

5: Run seed files

npm run seed

6: Run to start the application

npm start 

(back to top)

License

License: MIT

Distributed under MIT License.

See LICENSE.txt for more information.

(back to top)

Contact Me

Ayako Woollan - [email protected]

Project Link: https://github.com/ayacomputer/14-MVC-Tech-Blog

(back to top)

About

A CMS-style blog site, where users(developers) can publish their blog posts and comment on other users’ posts as well. This application follows the MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages