Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prasenjitb1234/taskmanagement01
Revising java, rest api basics & Springboot
https://github.com/prasenjitb1234/taskmanagement01
java postman spring-boot sql
Last synced: 20 days ago
JSON representation
Revising java, rest api basics & Springboot
- Host: GitHub
- URL: https://github.com/prasenjitb1234/taskmanagement01
- Owner: prasenjitb1234
- Created: 2024-08-01T17:12:35.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T17:49:32.000Z (6 months ago)
- Last Synced: 2024-11-09T17:12:15.361Z (3 months ago)
- Topics: java, postman, spring-boot, sql
- Language: Java
- Homepage:
- Size: 3.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task Management Web Application
## Overview
This is a task management web application designed to streamline the management of tasks. Built using Java with the Spring Boot framework, JPA for data persistence, Thymeleaf for server-side rendering, and MySQL as the database, this application provides a user-friendly interface to perform CRUD (Create, Read, Update, Delete) operations on tasks. The application also incorporates validation mechanisms to ensure data integrity.
## Features
-
Task Management: Create, read, update, and delete tasks. -
User Management: Register and log in as an admin to manage tasks. -
Validation: Ensure accurate and valid data entries.
## Images
Here are some screenshots of the application:
## Login
## Dashboard
## Add Task
## Task List
## Endpoints
-
Home: http://localhost:8080/hometask -
Register Task Admin: http://localhost:8080/registertaskadmin -
Admin Login: http://localhost:8080/adminlogin
## Getting Started
To get a local copy of the project up and running, follow these steps:
### Prerequisites
- Java 11 or later
- MySQL Database
- Maven
### Installation
-
Clone the repository:
git clone https://github.com/prasenjitb1234/taskmanagement01.git
-
Navigate to the project directory:
cd your-repository
-
Configure the database:
- Open MySQL Workbench (or your preferred MySQL client).
- Create a new database named
taskmanagetry
, or you can change the database name in theapplication.properties
file to a name of your choice.
-
Update the application properties:
Open
src/main/resources/application.properties
and ensure that the database connection settings match your MySQL setup. Update the database name if necessary:
spring.datasource.url=jdbc:mysql://localhost:3306/taskmanagetry
spring.datasource.username=yourusername
spring.datasource.password=yourpassword
-
Build and run the application:
mvn clean install
mvn spring-boot:run
-
Access the application:
Open your web browser and navigate to the following URLs:
-
Home page: http://localhost:8080/hometask -
Register Task Admin: http://localhost:8080/registertaskadmin -
Admin Login: http://localhost:8080/adminlogin
-