Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/canankorkut/cleanblog
- Owner: canankorkut
- Created: 2024-08-05T09:20:58.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T11:07:56.000Z (3 months ago)
- Last Synced: 2024-10-12T00:05:28.830Z (25 days ago)
- Topics: ejs, express, javascript, mongodb, nodejs
- Language: JavaScript
- Homepage: https://cleanblog-jc4r.onrender.com/
- Size: 7.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)