I want to build a CMS-style blog site similar to a Wordpress site, where developers can publish their blog posts and comment on other developers’ posts as well. I will follow the MVC paradigm in its architectural structure, using Handlebars.js as the templating language, Sequelize as the ORM, and the express-session npm package for authentication.
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
https://secure-sands-16724.herokuapp.com/
Clone the repo
Use npm install to install dependecies.
npm install
Log into MySQL.
mysql -u <user> -p
Enter password.
Source the schema.
source db/schema.sql
Quit MySQL and seed the database.
quit node seeds
Start the server.
npm start
Once the server is started, visit localhost:3001. Users can sign up and log in.
Once logged in, they will have two new options in the navigation bar. `dashboard` will take them to a page where they can create a new post, view previous posts (which they can select to edit or delete), or they can select `logout` . If they do not wish to make a post they can visit other users posts by either clicking on the title or comments.
Here the user can see all the comments for this post and they can leave one of their own. If the user wishes to return to the homepage they can click on 'Tech POST' to take them back to the home page.
This project is licensed under the MIT License - see the LICENSE file for details.