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

https://github.com/cchacin/frameworkless-rest-api


https://github.com/cchacin/frameworkless-rest-api

Last synced: 5 months ago
JSON representation

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 │








└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
```