Skip to content

PacifiedPizza/Blog-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Blog Site

A basic blog site built with Node.js and Express, allowing users to create and view blog posts temporarily without using a database.

Table of Contents

Features

  • Create Post: Users can create a new blog post with a title and content.
  • View Posts: All posts are displayed on the homepage, allowing users to read them.
  • Temporary Storage: Posts are stored temporarily in memory and do not require a database.

Installation

To run this simple blog site locally, follow these steps:

  1. Clone the repository to your local machine.

  2. Install the dependencies.

    cd simple-blog-site
    npm install
  3. Start the server.

    npm start
  4. Open your web browser and navigate to http:https://localhost:3000 to start creating and viewing blog posts.

Usage

  • Visit the homepage to view existing blog posts.
  • Click on the "Create Post" link to create a new blog post.
  • Enter the title and content for the post and click "Submit."
  • Your new post will be displayed on the homepage.

Dependencies

This project uses the following npm packages:

  • Express: A fast, unopinionated, minimalist web framework for Node.js.
  • EJS: Embedded JavaScript templates for building dynamic web applications.

Contributing

Feel free to contribute to the project. If you have any improvements or new features, please open an issue or submit a pull request.

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

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published