A full-stack web application for managing personal tasks with user authentication, built using Spring Boot and modern web technologies.
- User Registration: Create new accounts with secure password encryption
- User Login: Authenticate using Spring Security
- Session Management: Secure session handling with logout functionality
- Create Tasks: Add new tasks with title, description, due date, and priority levels
- Read Tasks: View all tasks in an organized dashboard
- Update Tasks: Edit existing task details and mark tasks as completed
- Delete Tasks: Remove tasks that are no longer needed
- Filter Tasks: Filter tasks by status (pending, completed)
- Priority Levels: Organize tasks by Low, Medium, or High priority
- Status Tracking: Track task progress with status updates
- Responsive Design: Mobile-friendly interface that works across all devices
- Dynamic Pages: Server-side rendering using Thymeleaf templates
- Intuitive Dashboard: Clean and organized task overview
- Spring Boot - Application framework
- Spring MVC - Web layer and request handling
- Spring Data JPA - Database operations and ORM
- Spring Security - Authentication and authorization
- Hibernate - JPA implementation
- Thymeleaf - Server-side template engine
- HTML5/CSS3 - Structure and styling
- MySQL - Production database (configurable)
- Maven or Gradle - Dependency management and build automation
Before running this application, ensure you have the following installed:
- Java Development Kit (JDK) 17 or higher
- Maven 3.6+ or Gradle 7.0+
- MySQL 8.0+
- Git - For version control
- IDE (recommended): IntelliJ IDEA, Eclipse, or VS Code
-
Clone the repository
git clone https://github.com/yourusername/personal-task-manager.git cd personal-task-manager -
Build the project
Using Maven:
mvn clean install
Using Gradle:
gradle build
Add to application.properties:
Additional configurations in application.properties:
spring.application.name=taskmanager
spring.thymeleaf.cache=false
spring.datasource.url=jdbc:mysql://localhost:3306/taskmanager_db?createDatabaseIfNotExist=true
spring.datasource.username=user_name
spring.datasource.password=your_password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.open-in-view=falsemvn spring-boot:rungradle bootRunjava -jar target/personal-task-manager-0.0.1-SNAPSHOT.jarThe application will start on http://localhost:8080
-
Access the Application
- Open your browser and navigate to
http://localhost:8080
- Open your browser and navigate to
-
Register a New Account
- Click on "Register" from the home page
- Fill in your details and create an account
-
Login
- Use your credentials to log in
-
Manage Tasks
- Add Task: Click "Add New Task" and fill in the details
- View Tasks: See all your tasks on the dashboard
- Edit Task: Click the edit button on any task
- Delete Task: Remove tasks using the delete button
- Filter Tasks: Use filters to view pending or completed tasks
- Mark Complete: Check tasks off as you complete them
-
Logout
- Click the logout button to end your session
GET /- Home pageGET /register- Registration pagePOST /register- Create new userGET /login- Login pagePOST /login- Authenticate userPOST /logout- End session
GET /dashboard- User dashboardGET /tasks- Get all tasksPOST /tasks- Create new taskGET /tasks/{id}- Get task by IDPUT /tasks/{id}- Update taskDELETE /tasks/{id}- Delete taskGET /tasks/filter?status={status}- Filter tasks by status
personal-task-manager/
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/yourpackage/taskmanager/
│ │ │ ├── controller/
│ │ │ │ ├── HomeController.java
│ │ │ │ ├── TaskController.java
│ │ │ │ └── UserController.java
│ │ │ ├── model/
│ │ │ │ ├── Task.java
│ │ │ │ └── User.java
│ │ │ ├── repository/
│ │ │ │ ├── TaskRepository.java
│ │ │ │ └── UserRepository.java
│ │ │ ├── service/
│ │ │ │ ├── TaskService.java
│ │ │ │ └── UserService.java
│ │ │ ├── security/
│ │ │ │ └── SecurityConfig.java
│ │ │ └── TaskManagerApplication.java
│ │ └── resources/
│ │ ├── templates/
│ │ │ ├── home.html
│ │ │ ├── login.html
│ │ │ ├── register.html
│ │ │ ├── dashboard.html
│ │ │ └── task-form.html
│ │ ├── static/
│ │ │ ├── css/
│ │ │ ├── js/
│ │ │ └── images/
│ │ └── application.properties
│ └── test/
│ └── java/
├── pom.xml (or build.gradle)
└── README.md
Project Link: https://github.com/yourusername/personal-task-manager
Happy Task Managing! 📝✅