Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.01 KB

File metadata and controls

61 lines (41 loc) · 2.01 KB

Blog-Management-API

This project is a simple blog application built using Node.js and Express.js, allowing users to create, read, update, and delete blog posts.

Table of Contents

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository: git clone https://github.com/Athin789/Blog-Management-API.git
  2. Navigate to the project directory: cd Blog-Management-API
  3. Install dependencies: npm install
  4. Start the server: npm start
  5. Open your web browser and navigate to: http://localhost:3000

Usage

Once the server is up and running, you can use the provided API endpoints to interact with the blog application. You can use tools like Postman or curl to make API requests.

API Endpoints

The following API endpoints are available:

  • GET /posts: Get a list of all blog posts.
  • GET /posts/:id: Get a specific blog post by its ID.
  • POST /posts: Create a new blog post.
  • PUT /posts/:id: Update an existing blog post.
  • DELETE /posts/:id: Delete a blog post.

For more details on how to use each endpoint, refer to the API documentation.

Dependencies

The project has the following main dependencies:

  • Express.js: A web application framework for Node.js.
  • Other dependencies: Check the package.json file for the complete list.

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 for your feature or bug fix: git checkout -b feature-name
  3. Make your changes and commit them: git commit -m "Description of changes"
  4. Push your changes to your fork: git push origin feature-name
  5. Submit a pull request to the main repository.

License

This project is licensed under the ISC License.


Athin Anil