Skip to content

abdomallouk/blogSite

Repository files navigation

# Express Application

This is an Express application designed for user registration, login, and managing blog content. It provides routes for registration, login, and blog management.


## Prerequisites

Before you get started, ensure you have the following dependencies installed:

- Node.js
- npm (Node Package Manager)

## Installation

1. **Clone the repository:**

   ```bash
   git clone https://github.com/abdomallouk/blogSite.git
  1. Navigate to the project directory:

    cd express-application
  2. Install the required Node.js packages:

    npm install

Usage

This Express application is used for user registration, login, and managing blog content. Here's how to run the application:

  1. Start the application:

    npm start
  2. Access the application in your web browser:

    • Registration: http://localhost:5500/register
    • Login: http://localhost:5500/login
    • Blog Management: http://localhost:5500/blogs

Routes

  • /register: User registration.
  • /login: User login.
  • /blogs: Blog management.

Directory Structure

  • Routes/: Contains route handlers for user registration, login, and blog management.
  • public/: Static files such as CSS, JavaScript, and images.
  • uploads/: For storing uploaded files.
  • views/: EJS templates for rendering web pages.

Contributing

Contributions to this project are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch.
  3. Commit your changes.
  4. Push to the branch.
  5. Create a pull request.

Please ensure that your changes follow the existing code style and pass any existing tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published