This is a Flask-based blog application that allows users to create, edit, and delete blog posts. Users can also leave comments on posts. The application includes user authentication and authorization features, and it uses Gravatar for user profile pictures.
- Register: Users can register with their email, name, and password.
- Login: Registered users can log in with their email and password.
- Logout: Users can log out of their account.
- Create Post: Authenticated users can create new blog posts.
- Edit Post: Users can edit their own posts. Admin can edit any post.
- Delete Post: Users can delete their own posts. Admin can delete any post.
- View Posts: All users can view all blog posts.
- Add Comment: Authenticated users can add comments to posts.
- View Comments: All users can view comments on posts.
- Gravatar: User profile pictures are fetched from Gravatar based on the user's email.
- Admin Privileges: Admin can edit and delete any post.
- Responsive Design: The application uses Bootstrap for a responsive design.
- CKEditor: Rich text editor for creating and editing posts.
- Gravatar: Unique avatars for users based on their email addresses.
- Clone the repository:
git clone https://github.com/Jashan-ux/Idea-Chronicles.git
##Usage
Register: Go to /register to create a new account.
Login: Go to /login to log in to your account.
Create Post: After logging in, go to /new-post to create a new blog post.
Edit Post: Go to the post you want to edit and click the "Edit Post" button.
Delete Post: Go to the post you want to delete and click the "Delete Post" button.
Add Comment: Go to a post and add a comment in the comment section.
##Contributing
Contributions are welcome! Please open an issue or submit a pull request for any changes.