The Blogging Platform is a web application that allows users to create, manage, and publish their own blog posts. It provides a user-friendly interface for writing and organizing blog content, as well as features for user authentication, comment management, and blog customization.
Prerequisites
- Node.js (version >= 12.0.0)
- MySQL database
git clone https://github.com/erajamanickam/blog-application-nodejs-mysql
cd blogging-platform
npm install
Create a MySQL database for the Blogging Platform
DB_HOST=localhost
DB_USER=your_database_username
DB_PASSWORD=your_database_password
DB_NAME=your_database_name
You are now ready to start the Blogging Platform. Run the following command:
npm start
- User Registration and Login Authentication
- Blog Creation and Management
- Blog List and Sorting
- Blog Comment Management
- Dashboard
Users can sign up for an account and log in to the platform using their credentials. Authentication is implemented using JSON Web Tokens (JWT) for secure access to user-specific features
Authenticated users can create new blog posts, edit existing posts, and delete unwanted posts. The platform provides a rich text editor for easy content creation, allowing users to format text, add images, and include other media.
The platform displays a list of blog posts, ordered by the latest date. Users can browse through the blog list to discover and read the most recent posts.
Users can leave comments on blog posts to engage in discussions. They can also edit and delete their own comments. The comments are displayed below each blog post, showing the user's name, comment content, and the timestamp of the comment.
Authenticated users have access to a dashboard that provides an overview of their blog activity. The dashboard includes statistics on blog views, comments, and engagement.
To deploy this project run
npm run deploy
- Nodejs
- Express
- MySQL
If you have any feedback, please reach out to us at erajamanickam72@gmail.com