Skip to content

nurlanuly7/file-upload-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

File Upload Server (Pure Java)

Simple HTTP server written in pure Java. Supports file upload and stores metadata in PostgreSQL.

Tech Stack

  • Java 21
  • Maven
  • PostgreSQL
  • JDBC
  • HttpServer (JDK)

How to Run

  1. Configure PostgreSQL credentials
  2. Run:
mvn clean compile
java -cp target/classes Main



---

###  Upload endpoint
```md
## Upload File

POST /upload

Headers:
- Content-Type: application/pdf
- X-Filename: example.pdf

Body:
- binary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages