Skip to content

A Spring Boot application with Spring MVC that provides a RESTful API for managing products. It utilizes Spring Web, JPA, and Hibernate to handle CRUD operations for the Product entity. The project showcases best practices for building scalable and maintainable web applications using Spring framework.

Notifications You must be signed in to change notification settings

Rieyanshi/SpringWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SpringWebApp

SpringWebTelusko3 is a simple Spring Boot application that provides a RESTful API for managing products. It leverages Spring Web, JPA, PostgreSQL and Hibernate to handle CRUD (Create, Read, Update, Delete) operations for the Product entity.

Features

  • Retrieve a list of all products
  • Retrieve a specific product by name
  • Add new products (commented out in the current code)
  • Product entity with properties such as name, type, place, and warranty
  • Integration with an H2 in-memory database using Spring Data JPA

Technologies Used

  • Java
  • Spring Boot
  • Spring Web
  • Spring MVC
  • Spring Data JPA
  • Hibernate
  • H2 in-memory database
  • postgreSQL

Getting Started

To run the project locally, follow these steps:

  1. Make sure you have Java Development Kit (JDK) installed on your system.
  2. Clone this repository to your local machine or download the source code.
  3. Open the project in your preferred Integrated Development Environment (IDE).
  4. Build the project to download the necessary dependencies.
  5. Run the application.

The API endpoints can be accessed using a tool like cURL or through a web browser. Here are a few examples:

  • Retrieve all products: GET http://localhost:8080/products
  • Retrieve a specific product by name: GET http://localhost:8080/products/{name}

Screenshots

Screenshot (338) Screenshot (339) Screenshot (342)

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

A Spring Boot application with Spring MVC that provides a RESTful API for managing products. It utilizes Spring Web, JPA, and Hibernate to handle CRUD operations for the Product entity. The project showcases best practices for building scalable and maintainable web applications using Spring framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages