https://github.com/cchacin/frameworkless-rest-api
https://github.com/cchacin/frameworkless-rest-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cchacin/frameworkless-rest-api
- Owner: cchacin
- License: unlicense
- Created: 2024-10-19T17:01:44.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T03:05:59.000Z (8 months ago)
- Last Synced: 2025-02-09T04:18:12.882Z (8 months ago)
- Language: Java
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Framework-less REST API
- Servlets
- JDBC + HikariCP
- Jackson```
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
Servlet Container │
│----------------- ┌───────────────┐
Jetty │ Serialization │ │
│ ├───────────────┤
│ JSON │ │
│ ┌───────────────┐ │ ------- │◀─────┐
│ REST │ │ Jackson │ │ │
│ ├───────────────┤ └───────────────┘ │
│ API Layer │ │ │
│ │ -------- │◀────────────────┐ │
│ Servlets │ │ │ │
│ └───────────────┘ │ │
│ │ │
│ │ │
│ │ │
│ ┌───────────────┐ │ │ ┌───────────────┐
│ Core DTOs │ │ │ │ Main │ │
│ ├───────────────┤ │ │ ├───────────────┤
│ Service Layer │ │ │ │ App Layer │ │
│ │ ------------- │◀────────────────┼──────────┴───────│ ------------- │
│ Plain Java │ │ │ Plain Java │ │
│ └───────────────┘ │ └───────────────┘
│ │
│ │
│ │
│ ┌───────────────┐ │
│ DB DTOs │ │ │
│ ├───────────────┤ │
│ Data Layer │ │ │
│ │---------------│◀────────────────┘
│JDBC / Postgres│ │
│ └───────────────┘
│ │
│ │
│ │
│ │
─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
│
└────────────────────────┐
│
│
│
│
│
│
▼
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
DATABASE │
│----------
PostgreSQL │
│
│
│
│
│
│
│
│
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
```