a CMS-style blog site
- allow user to publish articles, blog posts, and comments
- homepage displays existing posts.
- dynamic nav links based on if user has logged in or not
- user can choose to log in or sign up
- when signing up, user need to create a username and password
- user can log back in by credential infomation created in signing up
- user can view details about the post including comments
- user allows to leave a comment in the post when the status is logged in
- logged-in user can access dashboard to view, edit and delete past posts and comments and create a new post
- after editing, user will take back to dashboard with updated posts and comments
- when clicks on log out, user will be signed out of the website
- when user idles after a certain set of time, he/she need to log in again to be able to add, edit and delete posts or comments. But he/she can still view the posts or the comments created by him/her
node.js, express, sequelize, bcrypt, dotenv, handlebars, express-session, connect-session-sequelize, mysql2, idle-timeout, bootstrap, google font, html, javascript, css
This is my first time to create a full stack website. I had difficulty to differentiate what is allowed to use in frontend and in backend. Practice is the best teacher. It allows me to find out where my knowledge is lacked and what I was missing when I was learning. I learned a lot through this project including knowledge about cookies and how to use them.
https://shrouded-castle-47195.herokuapp.com/
HOMEPAGE
DASHBOARD
SINGLE POST