Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.18 KB

Readme.md

File metadata and controls

54 lines (36 loc) · 1.18 KB

Blogging Web Application

This is a simple blogging web application built with Express.js, Sequelize, and EJS.

Features

  • Create new blog posts
  • Edit existing blog posts
  • View all blog posts
  • Simple todo app

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/blogging-app.git
  2. Install dependencies:

    cd blogging-app
    npm install
  3. Set up the database configuration in config/database.js.

  4. Run the application:

    npm start

    The application will be running at http://localhost:3000.

Dependencies

  • Express.js: for building the web server
  • Sequelize: for handling database operations
  • EJS: for rendering HTML templates
  • Tailwind CSS: for styling the frontend

Usage

  1. Navigate to http://localhost:3000 in your web browser.
  2. Click on "Create Blog" to create a new blog post.
  3. Fill out the form and submit.
  4. View all blog posts on the homepage.
  5. Click on "Edit" to edit an existing blog post.

Simple Todo App

There is also a simple todo app available in the /todo route. You can access it by navigating to http://localhost:3000/todo in your web browser.