Top 4 Java api-server Projects
-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
-
serverless-java-container
A Java wrapper to run Spring, Spring Boot, Jersey, and other apps inside AWS Lambda.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Para
Multitenant backend server for building web and mobile apps rapidly. The backend for busy developers. (self-hosted or hosted) (by Erudika)
-
proteus
Proteus is a blazing fast minimalist Java web server framework built atop Undertow. (by noboomu)
I found some "tricks" to write less code, hence less code to maintain if there are any changes. Also less code with bugs just by changing the inputs.
For example, OpenAPI spec file + OpenAPI generator (https://github.com/OpenAPITools/openapi-generator). Any changes in the OpenAPI spec are reflected in the final code with a build step.
Another example: MapStruct (https://mapstruct.org/) to avoid passing data from Entity classes to DTO and back. Saves looots of boilerplate code.
Which are your tricks?
Project mention: Spring Boot 3 application on AWS Lambda - Part 3 Develop application with AWS Serverless Java Container | dev.to | 2024-04-15The key dependency to make it work and translate between Spring Boot 3 (web annotation) model and AWS Lambda is the dependency to the artifact aws-serverless-java-container-springboot3 defined in the pom.xml. It's based on Serverless Java Container which natively supports API Gateway's proxy integration models for requests and responses, and we can create and inject custom models for methods that use custom mappings.
Index
What are some of the best open-source api-server projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | openapi-generator | 20,021 |
2 | serverless-java-container | 1,454 |
3 | Para | 516 |
4 | proteus | 185 |
Sponsored