Skip to content

A news blog with content management functionalities developed using Node, Express and MongoDB.

License

Notifications You must be signed in to change notification settings

jelilio/zenblog

Repository files navigation

ZenBlog - Node, Express and MongoDB

A news blog with content management functionalities developed using Node, Express and MongoDB.

drawing

Table of Contents

Technologies

  • JavaScript
  • Node
  • Express
  • MongoDB
  • Passport
  • Cloudinary

Installation

  1. Clone the repository:
 git clone https://github.com/jelilio/zenblog.git
  1. Install dependencies:
 npm install

Usage

Development

  1. Setup .env file in the project directory and provide the below properties
    PORT=<port>
    DEVELOPMENT_DB_DSN=<mongodb url>
    DEVELOPMENT_CLOUDINARY_CLOUD_NAME=<cloudinary environment name>
    DEVELOPMENT_CLOUDINARY_API_KEY=<cloudinary api key>
    DEVELOPMENT_CLOUDINARY_API_SECRET=<cloudinary api secret>
  2. Run the below command To run the project in development, use the following command:
    npm run dev

Production

  1. Provide the below key-value properties
    PORT=<port>
    PRODUCTION_DB_DSN=<mongodb url>
    PRODUCTION_CLOUDINARY_CLOUD_NAME=<cloudinary environment name>
    PRODUCTION_CLOUDINARY_API_KEY=<cloudinary api key>
    PRODUCTION_CLOUDINARY_API_SECRET=<cloudinary api secret>
  2. To run the project in production, use the below command:
    npm run start

License

This project is licensed under the MIT License.

About

A news blog with content management functionalities developed using Node, Express and MongoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published