An open API service indexing awesome lists of open source software.

https://github.com/pabitra-33/jsp-crudmate

Created a friendly Web application project demonstrating CRUD with JSP and Spring MVC.
https://github.com/pabitra-33/jsp-crudmate

Last synced: about 1 month ago
JSON representation

Created a friendly Web application project demonstrating CRUD with JSP and Spring MVC.

Awesome Lists containing this project

README

          

# JSP-CrudMateπŸ‘¨β€πŸ’»πŸ‘©β€πŸ’»

_A friendly project demonstrating CRUD with JSP and Spring MVC_


## πŸ“ Overview

**JSP-CrudMate** is a simple and well-structured demo web application built using **Spring Boot**, **Spring MVC**, **JSP**, and **PostgreSQL**. It focuses on implementing **CRUD (Create, Read, Update, Delete)** operations in a clean and educational manner for beginners and intermediate Java developers.

This project serves as a practical guide for understanding the full workflow of a server-rendered web application using Java technologies.

## βš™οΈ Technologies Used

- **Java 17+**
- **Spring Boot**
- **Spring MVC**
- **JSP (JavaServer Pages)**
- **JDBC/Hibernate**
- **PostgreSQL**
- **HTML5/CSS3**


## πŸš€ Features

- πŸ”Ή Create a new record (User/Product/Entity)
- πŸ”Ή Retrieve and list all records
- πŸ”Ή Update existing entries
- πŸ”Ή Delete unwanted entries
- πŸ”Ή Server-side rendering with JSP
- πŸ”Ή PostgreSQL as the backend relational database
- πŸ”Ή Organized project structure with MVC design pattern


## πŸ“ Project Structure

```
JSP-CrudMate/
β”‚
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ main/
β”‚ β”‚ β”œβ”€β”€ java/com/example/crudmate/
β”‚ β”‚ β”‚ β”œβ”€β”€ controller/
β”‚ β”‚ β”‚ β”œβ”€β”€ model/
β”‚ β”‚ β”‚ β”œβ”€β”€ repository/
β”‚ β”‚ β”‚ └── service/
β”‚ β”‚ └── resources/
β”‚ β”‚ └── application.properties
β”‚ └── webapp/WEB-INF/
β”‚ └── views/ (JSP files)
β”‚
β”œβ”€β”€ pom.xml
└── README.md
```

## πŸ› οΈ How to Run

1. **Clone the Repository**

```
git clone https://github.com/yourusername/JSP-CrudMate.git
cd JSP-CrudMate
```

2. **Configure Database**

- Set your PostgreSQL DB credentials in application.properties.

```
spring.datasource.url=jdbc:postgresql://localhost:5432/yourdbname
spring.datasource.username=yourusername
spring.datasource.password=yourpassword
```

3. **Run the App**

- Use your IDE (IntelliJ, Eclipse, etc.) or run:

```
./mvnw spring-boot:run
```

4. **Access in Browser**

```
http://localhost:8080/
```

## ✨ Use Cases

- Educational use for Java web development.

- Reference app for MVC and JSP integration.

- Starter template for full-stack Spring Boot + JSP apps.