This web application is built using Node.js API and EJS (Embedded JavaScript) for rendering views. It serves as a platform for users to create, read, update, and delete blog posts. The application follows the MVC (Model-View-Controller) architecture, with Node.js handling the backend logic, EJS templates rendering the views, and MongoDB serving as the database to store blog posts and user information.
- Create: Users can create new blog posts.
- Read: Users can view existing blog posts.
- Update: Users can edit and update their existing blog posts.
- Delete: Users can delete their blog posts.
- MVC Architecture: The application is structured using the MVC pattern for better organization and maintainability.
- Node.js API: Node.js is used to handle the backend logic and API endpoints.
- EJS Templates: EJS templates are used for rendering dynamic HTML views.
- MongoDB Database: MongoDB is used as the database to store blog posts and user information.
- Clone the repository.
- Install dependencies using
npm install
. - Set up your MongoDB database and update the connection string in the
.env
file. - Run the application using
npm start
.
- Register or log in to create a new account.
- Create, read, update, or delete blog posts as needed.
- Explore the application's features and functionalities.
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the application.