Skip to content

This is a tech blog created in the UW Coding Bootcamp. On the front-end, the app can be accessed at Heroku. On the back-end, this is a node command line application that utilizes sequilize, dotenv, mysql2, express, handlebars, and bcrypt.

License

Notifications You must be signed in to change notification settings

andreahergert/tech_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech Blog

Licensing:

license

Table of Contents

User Story:

AS A developer who writes about tech

I WANT a CMS-style blog site

SO THAT I can publish articles, blog posts, and my thoughts and opinions

Description:

This is a tech blog created in the UW Coding Bootcamp. On the front-end, the app can be accessed at Heroku. On the back-end, this is a node command line application that utilizes sequilize, dotenv, mysql2, express, handlebars, and bcrypt.

Installation:

  • Download it through Github
  • Ensure express is installed
  • Ensure express-handlebars is installed
  • Ensure express-session is installed
  • Ensure mysql2 is installed
  • Ensure sequelize is installed
  • Ensure connect-session-sequelize is installed
  • Ensure dotenv is installed
  • Ensure bcrypt is installed
  • To connect to the database, once files are downloaded to you computer, you will need to use a .env file to input your password and username for your mysql.

Usage:

Webpage: https://ancient-citadel-20743.herokuapp.com/

Back-end after cloning or downloading repo files:

  • Open terminal and navigate to tech_blog folder
  • Type npm init -y into terminal to create a new .json file
  • Type npm i into terminal
  • Type npm i express into terminal
  • Type npm i express-handlebars into terminal
  • Type npm i express-session into terminal
  • Type npm i mysql2 into terminal
  • Type npm i sequelize into terminal
  • Type npm i dotenv into terminal
  • Type npm i bcrypt into terminal
  • Type npm i connect-session-sequelize into terminal
  • Navigate to the db folder
  • Type mysql -u root -p into terminal
  • Enter your password into terminal
  • Type source schema.sql into terminal
  • Type quit into terminal
  • Navigate back to the tech_blog in terminal
  • Type node seeds/index.js so the seeds will populate the database
  • Type npm start into the terminal
  • You will see the Now Listening indication and can access on your localhost

Screenshots:

Homepage Screenshot

Login and Sign Up Page Screenshot

Dashboard Once Logged In Screenshot

Adding a Post Screenshot

New Post Shows up on your Dashboard Screenshot

Adding a Comment to a Post from Another User Screenshot

User's Comment Added Screenshot

New Post Shows up on Homepage Screenshot

License:

MIT

Contributing:

Contributions are welcome through forking my repository.

Tests:

None

Questions:

About

This is a tech blog created in the UW Coding Bootcamp. On the front-end, the app can be accessed at Heroku. On the back-end, this is a node command line application that utilizes sequilize, dotenv, mysql2, express, handlebars, and bcrypt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published