Skip to content

aynurdenikayeva/SpringBootManagementService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"# Spring Boot Management Service" echo "# Spring Boot Management Service

This is a Spring Boot-based document upload and management service. It provides REST APIs to upload PDF files, manage categories, and store metadata like title, upload date, and file location.

✨ Features

  • Upload PDF documents
  • Associate documents with categories
  • Validate file types and required fields
  • Store metadata and files locally
  • REST API with proper request/response handling

📦 Technologies Used

  • Java 17+
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Validation (JSR-380)
  • Lombok

▶️ How to Run

  1. Clone the repository
  2. Open in IntelliJ IDEA or any preferred IDE
  3. Run `SpringBootManagementServiceApplication.java`

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

📁 API Endpoints

  • POST /api/documents/upload: Upload a document
  • GET /api/documents: Get all documents
  • GET /api/categories: Get all categories
  • POST /api/categories: Add a new category

⚠️ Notes

  • Files are stored locally.
  • Only .pdf files are allowed for upload.
  • Make sure the category exists before uploading.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages