Skip to content

Latest commit

 

History

History
82 lines (59 loc) · 2.36 KB

README.md

File metadata and controls

82 lines (59 loc) · 2.36 KB

Tech-Blog

A CMS style blog where developers can publish and comment on other posts using the MVC paradigm and deployed using Heroku.

Link to GitHub Repository

Link to Heroku Deployed Application

Table Of Contents

Description

This app uses the Model (Data), Controller (Actions), View (Render) model to successfully run the Application. The application uses Handlebars.js as the templating language and Sequelize as the Object-Relational Mapping to handle the information using Javascript. The app uses Express-Session to create User Authentication and is deployed using Heroku.

Project was created using the MVC Paradigm consisting of:

  • Sequelize
  • Express
  • Express Handlebars
  • MySQL
  • Javascript
  • Node.js
  • Nodemon
  • dotenv
  • bcrypt

Installation

  • To use the Application First Install MySQL and Node.js

  • Install Your Package using:

npm init --y
  • Install Dependencies using:
npm i mysql express express-session express-handlebars sequelize connect-session-sequelize dotenv bcrypt
  • Install your Database in the WorkBench using the Schema provided in the /db. and create/use 'tech_blog'.

  • Seed your Application with the given data using:

npm run seed
  • Now you are ready to run the Application using:
node server.js
  • Create an envelope file named .env inputting your Database Information in the following style: DB_NAME DB_USER DB_PASSWORD

  • When the Application has been launched successfully, open the Browser to navigate to your localhost to view the site.

Gallery

  • Sign-up and Login can be accessed from the same page, sign-up required. Sign-Up / Login Page
  • Dashboard Overview showing Posts Dashboard
  • Example Comment and Post Field Comment / Post

License

License: MIT

Questions

Please contact WitnessMyHands via GitHub with any questions or concerns.