No description
  • JavaScript 51%
  • EJS 27.4%
  • CSS 21.6%
Find a file
2024-09-02 14:17:17 +01:00
Design Files Rename 2023-05-05 15:57:08 +01:00
public Project Files 2023-04-24 10:15:04 +01:00
server Updated Post countDocuments 2023-12-06 10:59:45 +00:00
views Project Files 2023-04-24 10:15:04 +01:00
.gitattributes Initial commit 2023-04-24 10:14:18 +01:00
.gitignore Initial commit 2023-04-24 10:14:18 +01:00
app.js fix: port assigning use ENV over constant number 2023-05-15 16:32:08 +03:00
DummyData.txt Project Files 2023-04-24 10:15:04 +01:00
LICENSE Initial commit 2023-04-24 10:14:18 +01:00
package-lock.json Project Files 2023-04-24 10:15:04 +01:00
package.json Update package.json 2023-06-26 19:39:59 +01:00
readme-image.jpg Readme Image 2023-05-05 15:54:01 +01:00
README.md Update README.md 2024-09-02 14:17:17 +01:00

NodeJs, Express, EJS & MongoDB Blog - CRUD

alt text

You need:

  • NodeJs
  • Database (MongoDB) Free Cluster

Setup Database

Sign up for MongoDB free database cluster: MongoDB

Create .env file

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

MONGODB_URI=mongodb+srv://<username>:<password>@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

Design Files

The Blog layout is in a Figma(.fig) file under the "Design Files".

View Live Figma Prototype

YouTube Channels

Subscribe to TheNetNinja

Subscribe to RaddyDev

Website

www.raddy.dev

Donations

Buy me a Coffee