"TechBlog" is a web application that allows users to create an account, log in, and write and share tech-related blogs with the community. This Java-based project uses JSP and servlets to provide a platform for tech enthusiasts and professionals to share their insights, experiences, and knowledge.
This README file provides an overview of the project, its features, and instructions on how to get started.
- User Authentication: Users can create an account and log in securely to access the blog platform.
- Create Blogs: Authenticated users can create, edit, and delete their tech blogs.
- Public Blog Viewing: Blogs created by users are visible to all users who log in.
- User Profiles: Users can set up profiles with their information and a profile picture.
- Responsive Design: The application is designed to work on various devices and screen sizes.
- User-Friendly Interface: An intuitive user interface for easy blog creation, editing, and interaction.
Follow these instructions to set up and run the "TechBlog" application on your local machine.
- Java Development Kit (JDK): Ensure you have JDK installed. You can download it from Oracle or use OpenJDK.
- Apache Tomcat: Download and install Apache Tomcat.
- MySQL Database: Set up a MySQL database for user and blog data.
-
Clone the repository to your local machine:
https://github.com/Priyansh-Kasera/TechBlog.git
-
Open the project in your favorite Java IDE (e.g., Eclipse, IntelliJ IDEA).
-
Configure the database connection in the project to connect to your MySQL database.
-
Build and deploy the project to your Apache Tomcat server.
-
Start the Apache Tomcat server.
-
Open your web browser and visit http://localhost:8080/TechBlog to use the application.
- Create an account or log in if you already have one.
- Once logged in, you can create new tech blogs or edit/delete your existing blogs.
- View and like blogs created by other users.
- Edit your user profile with your information and a profile picture.