Blog content management system for users to write blog posts and post comments. Applicaiton follows the MVC paradigm and is built using Handlebars and Bootstrap for the front end, Node.js and Express for the server and API, Sequelize as the ODM, and MySQL for the database. All data is hosted in MySQL database on Heroku, including authentication for creating accounts and signing in users to ensure that only those with an assigned username and credentials can add posts or comments. User is able to update and delete their existing posts.
Tech Blog is a progressive web application so the user can install the app on their local machine. View the live application in Heroku.
- JavaScript (Node.js)
- SQL (MySQL)
- HTML (Handlebars.js)
- CSS (Bootstrap & custom CSS)
See package.json for full list of dependencies.
View application deployment in Heroku: stephentechblog.com
To run this application on your local machine, Node.js is required. Once cloned/downloaded from GitHub, enter npm i
in your CLI to install the packages referenced under Libraries Used automatically.
Then, update .env.EXAMPLE to hold your specific SQL credentials and database information so that the server.js file can connect to the server and update file name to .env.
Then, create the SQL database by running the commands in schema.sql. Next, seed the database with sample data by entering npm run seed
in command line to add test data to the database. You should now be ready to launch the application by entering npm start
.
Permission is hereby granted, free of charge, to any person obtaining a copy of this Software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions.