Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaibhav1826/blogging_application
Its a blogging application go explore >
https://github.com/vaibhav1826/blogging_application
ejs expressjs mongodb mongoose multer nodejs nodemon npm npm-module
Last synced: 3 months ago
JSON representation
Its a blogging application go explore >
- Host: GitHub
- URL: https://github.com/vaibhav1826/blogging_application
- Owner: vaibhav1826
- Created: 2024-07-25T14:46:30.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T13:06:53.000Z (5 months ago)
- Last Synced: 2024-09-29T07:21:13.729Z (3 months ago)
- Topics: ejs, expressjs, mongodb, mongoose, multer, nodejs, nodemon, npm, npm-module
- Language: EJS
- Homepage:
- Size: 5.68 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Blogging Application]
A blogging application with a clean and minimal UI
## Features
- **Clean and Minimal UI:** The application boasts a sleek design .
- **HTML in Blogs:** Users can embed HTML code within their blogs using blocks.
## Technologies Used- **Node.js:** Server-side JavaScript runtime.
- **Express:** Web framework for Node.js.
- **MongoDB:** NoSQL database.
- **Dependencies:**
- **Multer:** File handling and restrictions.
- **cookie-parser:** Cookie handling.
- **jsonwebtoken (JWT):** Token generation and verification.
- **EJS:** Templating engine.## Security and Privacy
- **Password Hashing:** Passwords are hashed with the SHA-256 algorithm and never saved in the database.
- **JWT Authentication:** Efficient login and logout handling through JWT token generation and verification.## File Handling
- **Multer:** Used for restricting and handling file attachments.
## Installation
To set up the project locally, follow these steps:
1. **Clone the Repository:**
```sh
git clone https://github.com/vaibhav1826/Blogging_Application.git
cd Blogging_Application
```
2. **Initialize Node.js**```sh
npm init
```Follow the prompts to create a `package.json` file.
2. **Install Express**
```sh
npm install express
```
3. **Install Other Dependencies**```sh
npm install multer cookie-parser jsonwebtoken ejs
```4. **Run the Application**
```sh
node index.js
```
## Custom Middleware / Features- **HTML Code in Blogs**: Users can embed HTML code within their blog posts using `[text] your code [/text]` blocks.
- **Post Progress**: Users can track the progress of their posts in real time.
- **Read Time Calculation**: The application calculates and displays the read time of each post.## Contributing
If you want to contribute to the project, please follow the standard GitHub flow:
1. Fork the repository.
2. Create a new branch.
3. Make your changes.
4. Submit a pull request.