Skip to content

SmitParekh84/blog-app-using-nodejs-expressjs

Repository files navigation

Blog Site

This is a simple blog site created using Node.js, Express, and EJS.

Features

  • Home Page: Displays a list of the latest posts.
  • About Page: Provides information about the blog and its creator.
  • Contact Page: Offers a form for visitors to get in touch.
  • Compose Page: Allows users to create new blog posts.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/blog-site.git
  2. Navigate to the project directory:

    cd blog-site
  3. Install dependencies using npm:

    npm install

Usage

  1. Start the server:

    node app.js
  2. Open your web browser and navigate to http://localhost:3000 to view the blog site.

  3. Explore the different pages: Home, About, Contact, and Compose.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Create a new pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.