This repository consists the source code to MyBlog, which is my Blog website hosted on vercel and render.
- Display a list of blog posts on the home page.
- Store blog posts in a MongoDB database.
- Easily add new blog posts through the admin portal.
- Node.js: JavaScript runtime for server-side development.
- Express: Web framework for Node.js.
- EJS (Embedded JavaScript): Templating engine for rendering views.
- MongoDB: NoSQL database for storing blog post data.
-
Clone the Repository:
git clone <repo-http> cd nodejs-blog
-
Dependancies:
- open the terminal and type for installing all dependancies locally.
npm install
- open the terminal and type for installing all dependancies locally.
-
To run application:
- type on CLI for running the application
-node app.js