Skip to content

malloryfaria/tech-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tech Blog

GitHub license

Table of Contents

Description

You can see the site in action here: https://mallory-tech-blog.herokuapp.com/

A CMS-style blog site where developers can publish their blog posts and comment on other developers’ posts as well. This app uses Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.

Installation

// Clone the repository to your local machine using:|

git clone git@github.com:malloryfaria/tech-blog.git

// Install all the dependencies by typing code:
npm i

// Ensure you have set up MySQL and you have a legacy password to log in with ****

// Create a .env file in the root of the folder and fill out the following with your information:
DB_NAME='tech_blog_db'
DB_USER='root'
DB_PW='examplepassword'

// From the root folder, login to your MySQL using:
mysql -u root -p

// Then, run this command to create the database:
source db/schema.sql;

// Then quit the MySQL shell by typing
quit;

// Seed the test data into the database by typing:
npm run seeds

// Then use the below command to start the server:
npm start

Usage

Use this application to build on the front end for an e-commerce site to this back end.

Deployed application link

https://github.com/malloryfaria/tech-blog

Languages/Technology Used

Node, Express.js API, Sequelize, MySQL2, Handlebars.js, Express-session, bcrypt, dotenv

Screenshots

Homepage:

homepage

Creating a new post:

creating a post

Editing a post:

editing a post

License

This project is licensed under the MIT license.

Contributing

If you would like to contribute, please reach out to me. You can find my contact information in the "Questions?" section below.

Questions?

If you have any questions about the project, contact me at: mallory.faria@gmail.com Check out the rest of my work at: malloryfaria

About

a CMS-style blog site where developers can publish their blog posts and comment on other developers’ posts as well. This app uses Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors