Skip to content

A blogging/forum style app using node.js, express, handlebars, and mysql/sequelize.

License

Notifications You must be signed in to change notification settings

1willcobb/Tech_Blog

Repository files navigation

Tech Blog

A blogging/forum style app using node.js, express, handlebars, and mysql/sequelize.

License: MIT

App Live Here (Hosted w/ heroku eco-dinos, alow a few seconds to spin up)

Description

This app is a forum style blogging app where authenticated users can log in and view forum topics written by all users. Users have access to a dashboard to create new blog posts and are able to view, create, update, and delete their own posts. All users are able to view and make comments on any post.

This app is served through an Express/Mode.js server hosted on an eco-dino heroku server (if it loads slow the first time thats why). The pages are served dynamically using handlebars templating and MVC framework. Database was written with Sequelize and can be seeded with included seed files.

Other technologies include express-session to track user login and expires after 24 hours. Dayjs was used for date management. In development eslint and prettier were used for cleaner code.

Table of Contents

Installation

npm install

For installing this application, you will need to run npm install

You will need mysql setup on your dev device for local dev.

mysql connections are hidden in a .env file with the following layout. Create and place your login information in this file:

  DB_NAME= "blog_db"
  DB_USER= ""
  DB_PASSWORD= ""

you will also need to source your db with the seed files if you wish and seed it with seed.db

npm run seeds

Usage

once packages installed, open a terminal and type the following:

npm start

Open your browser to localhost:3001

Demo

demo demo1 demo2 demo3

Contributions

You are welcome to contribute! I look forward to hearing from you

Questions

Please reach out to me if you have any questions about the functionality of the app or installation GitHub | Email

License

MIT License

The license used for this application is MIT License which can be found at the here

About

A blogging/forum style app using node.js, express, handlebars, and mysql/sequelize.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published