Skip to content

Samihat11/tech-blog

Repository files navigation

Tech Blog badge

Description

A CMS-style blog site using Model View Controller(MVC) paradigm. The app is built using Express, MySQL, Sequelize and Tailwindcss.

Table of Contents

Installation

  1. Clone this repo.
  2. Run npm install.
  3. Edit the .env file with your environment details.
  4. Run npm start.

Usage

On launch the app renders the homepage where users can see all the posts.

Screen Shot 2021-12-11 at 1 45 45 AM

To access any other page the user has to login, so the login page will be displayed. If the user is not registered they can signup and then login.

Screen Shot 2021-12-11 at 1 45 28 AM

Once logged in the user can access the dashboard where posts belonging to user are displayed with edit and delete options. The user can also create a new post by clicking on the create post button.

Screen Shot 2021-12-11 at 2 07 15 AM

Screen Shot 2021-12-11 at 1 46 12 AM

The edit button renders a form with the post title and body already populated.

Screen Shot 2021-12-11 at 1 46 51 AM

Clicking on the title of the post takes you to the post page which displays all comments associated with that post and provides the option to add a comment to the user.

Screen Shot 2021-12-11 at 1 45 54 AM

License

badge

This application is covered by the MIT License.

Contributing

Samira Abdalla

Questions

If you have any questions, reach out to me via:

GitHub: Samihat11

Email: [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published