The Brandta Blog is a CMS-Style-Blog-Site that lets registered users share titled posts and comments. This app was built with Node and Express, and templated with Handlebars. The app can create user accounts and store their posts and comments on a server-side database using the Sequelize ORM for MySQL via JAWSDB on Heroku.
A few environment variables are needed in a .env
file:
DB_NAME = challenge_db
: the Sequelize instance will use this database when manipulating theUser
,Comment
andPost
modelsDB_USER
: name of the MySQL user, which isroot
by defaultDB_PASS
: the password for your MySQL server
npm i
npm run start:dev
The server is now running locally at http://localhost:3000
The site is deployed on Heroku: https://brandta-blog.herokuapp.com/