An open API service indexing awesome lists of open source software.

https://github.com/devradheee/blog

A full-stack blog application with complete CRUD functionality built using Node.js, Express, MongoDB, and EJS.
https://github.com/devradheee/blog

ejs expressjs mongodb nodejs

Last synced: 2 months ago
JSON representation

A full-stack blog application with complete CRUD functionality built using Node.js, Express, MongoDB, and EJS.

Awesome Lists containing this project

README

          

# NodeJs, Express, EJS & MongoDB Blog - CRUD

## You need:
- NodeJs
- Database (MongoDB) Free Cluster

## Setup Database
Sign up for MongoDB free database cluster: [MongoDB](https://www.mongodb.com/)

## Create .env file
Create a .env file to store your credentials. Example below:

```
MONGODB_URI=mongodb+srv://:@clusterName.xxxxxxx.mongodb.net/blog
JWT_SECRET=MySecretBlog
```

## Installation
To install and run this project - install dependencies using npm and then start your server:

```
$ npm install
$ npm run dev
```