Skip to content

HaroonSaifi17/BlogApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlogApi

Express.js MongoDB Node.js HTML5 CSS3 JavaScript

This repository contains a RESTful API built with Express.js and MongoDB, designed to serve as the backend for your portfolio website's blog section.

Features:

  • Express.js: Utilizes Express.js for handling HTTP requests and routing.
  • MongoDB: Integrates MongoDB as the database to store and manage blog posts.
  • RESTful API: Follows RESTful principles for creating, updating, deleting, and retrieving blog posts.
  • Modular Structure: Organized codebase with modular components for scalability and maintainability.

Setup:

  1. Clone the Repository:

    git clone https://github.com/HaroonSaifi17/BlogApi.git
  2. Install Dependencies:

    npm install
  3. Set Environment Variables: Create a .env file in the root directory and define the following variables:

    PORT=3000
    MONGODB_URI=your_mongodb_uri
  4. Run the Server:

    npm start

Contribution:

Contributions are welcome! Feel free to submit pull requests or open issues for any suggestions, bug fixes, or improvements.

License:

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

About

Rest Api for my personal portfolio blog website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published