Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/canankorkut/cleanblog

A blog site built with Node.js and MongoDB, using the clean-blog template.
https://github.com/canankorkut/cleanblog

ejs express javascript mongodb nodejs

Last synced: 25 days ago
JSON representation

A blog site built with Node.js and MongoDB, using the clean-blog template.

Awesome Lists containing this project

README

        

# CleanBlog
This project is a website developed to manage blog content, using Start Bootstrap's clean blog template.
[Template link](https://startbootstrap.com/theme/clean-blog)
## Features
- **Adding Post**: Users can add new blog posts.
- **Post Update**: Users can update existing blog posts.
- **Delete Post**: Users can delete existing blog posts.
## Libraries and Packages
- **Node.js:** It was used to execute server-side JavaScript code.
- **Express:** It was used for web server and routing operations.
- **Nodemon:** It was used for an automatic restart during development.
- **EJS:** It has been used to create dynamic and customizable user interfaces.
- **MongoDB:** It was used for database management.
- **Mongoose:** Mongoose ORM was used to interact with MongoDB.
- **CRUD:** Create, Read, Update, and Delete operations have been performed in the application.
- **Method-override:** It is used to perform override operations on HTTP methods.
- **MVC structure:** The code structure of the application was organized using the Model-View-Controller (MVC) architecture.
## Installation
1. **Clone The Repository:**
```bash
git clone https://github.com/canankorkut/CleanBlog.git
cd CleanBlog
```
2. **Install Dependencies:**
```bash
npm install
```
3. **Set Environment Variables:**
Create a `.env` file and add the following:
```bash
MONGODB_CONNECT_URI=mongodb+srv://username:[email protected]/database
```
5. **Start in Development Mode:**
```bash
npm start
```
## Deploy
The project was deployed in [Render](https://render.com/).
[Project link](cleanblog-jc4r.onrender.com/)