CMS-Style-Blog-Site where developers(users) can publish blog posts and comment on other developers(users) posts as well.
App is deployed to Heroku.
App follows MVC paradigm in its architechural structure.
App uses handlebars as the templating language.
App uses Sequelize as the ORM.
App uses express-session npm package for authentication.
GIVEN a CMS-style blog site
When the user visits the site for the first time
THEN the user is presented with the homepage, which includes existing blog posts if any have been posted;
navigation links for the homepage and the dashboard; and the option to log in
When the user clicks on the homepage option
Then the user is taken to the homepage
When the user click on any other links in the navigation
Then the user is prompted to either sign up or sign in
When the user chooses to sign up
Then the user is prompted to create a username and password
When the user clicks on the sign-up button
THEN the user's credentials are saved and I am logged into the site
When the user revisits the site at a later time and choose to sign in
Then the user is prompted to enter my username and password
When the user am signed in to the site
THEN I see navigation links for the homepage, the dashboard, and the option to log out
When the user clicks on the homepage option in the navigation
Then the user is taken to the homepage and presented with existing blog posts that include the post title and the date created
When the user clicks on an existing blog post
Then the user is presented with the post title, contents, post creator’s username, and date created for that post and have the option to leave a comment
When the user enter a comment and clicks on the submit button while signed in
THEN the comment is saved and the post is updated to display the comment, the comment creator’s username, and the date created
When the user clicks on the dashboard option in the navigation
Then the user is taken to the dashboard and presented with any blog posts I have already created and the option to add a new blog post
When the user clicks on the button to add a new blog post
Then the user is prompted to enter both a title and contents for my blog post
When the user clicks on the button to create a new blog post
THEN the title and contents of my post are saved and I am taken back to an updated dashboard with my new blog post
When the user clicks on one of my existing posts in the dashboard
Then the user is able to delete or update my post and taken back to an updated dashboard
When the user clicks on the logout option in the navigation
Then the user is signed out of the site
When the user am idle on the site for more than a set time
Then the user is able to view comments but I am prompted to log in again before I can add, update, or delete comments
Licensed under the Apache License.
Install Node, express, nodemon.
none
None available.
None available.
- UT Modules 14
For any questions
- Email: jideogun93@gmail.com
- Gihtub: jideogun