Skip to content

baristaner/blog-app-api

Repository files navigation

Blog App API

This simple Express.js based blog application is a platform where users can view posts, and administrator users can add, edit, and delete posts.

Getting Started

These instructions will help you run and develop the application on your local machine.

Prerequisites

You need to have Node.js and MongoDB installed on your local machine to run this project.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/baristaner/blog-app-api.git
    cd blog-app-api
    
  2. Create .ENV file in blog-app-api:

    MONGODB_URL=YOUR_URL_HERE
    PORT=YOUR_PORT_HERE
    SESSION_SECRET=YOUR_SESSION_SECRET_HERE
  3. Install the required dependencies by running the following command in the terminal:

    npm install
    
  4. Start the application by running the following command::

    npm start
    
    

Technologies Used

  • Express.js

  • MongoDB (Mongoose)

Contribution

  • Fork this repository and clone it to your local machine.

  • Create a new branch: git checkout -b new-feature

  • Commit your changes: git commit -am 'Added a new feature'

  • Push to your branch: git push origin new-feature

  • Open a Pull Request!

Documentation

https://documenter.getpostman.com/view/24890485/2s9YJgTLWU

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published