Skip to content

This is a CMS-style blog site similar to a Wordpress site, where developers can publish their blog posts and comment on other developers’ posts as well. You’ll build this site completely from scratch and deploy it to Heroku. Your app will follow the MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequ…

License

Notifications You must be signed in to change notification settings

DevRayHE/tech-blog

Repository files navigation

License

Project Title

Tech Blog


📖Description

This is a CMS-style blog site similar to a Wordpress site, where developers can publish their blog posts and comment on other developers’ posts as well. This site is completely build from scratch and deploy it to Heroku. The app has followed 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.

Langugaes used:

CSS3

JavaScript

NodeJS

Express.js

MySQL

Sequelize


Table of Contents

Features

  • Full Stack Website which follows the Model View Controller paradigm.
  • Handlebars.js as templating language.
  • Sequelize as Object Relational Mapping.
  • Express-session NPM package for authentication.
  • User password are secured by bcrypt package hash and salt.
  • Data stored and retrieved from backend server.
  • Dynamically generated responsive contents.


Installation

Link to this repo url

Link to the deployed site on Heroku

Follow the steps below to install:

  1. Clone the Github Repository to your local storage.
  2. Start up your favourite terminal.
  3. Navigate to the repository local folder.
  4. Run 'npm i' to install dependencies
  5. Run 'mysql -u "username" -p'
  6. Input your mysql password associated to the "username"
  7. Run 'source ./db/schema.sql'
  8. Run 'quit" to get back to Terminal
  9. Run 'node seeds/seed.js' to seed the database
  10. Run 'npm start'
  11. A Full Stack tech blog is now live!

Contribute

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Contributor Covenant


License

BSD 2-Clause License

Copyright (c) 2021, Ray He All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Questions

For any further questions or comments, feel free to contact me!

Link to my github profile

Drop me an email here


Back to the top

About

This is a CMS-style blog site similar to a Wordpress site, where developers can publish their blog posts and comment on other developers’ posts as well. You’ll build this site completely from scratch and deploy it to Heroku. Your app will follow the MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequ…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published