Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oktadev/okta-java-rest-api-comparison-example
Java REST API with Micronaut, Quarkus, and Spring Boot
https://github.com/oktadev/okta-java-rest-api-comparison-example
java micronaut quarkus rest rest-api spring-boot
Last synced: about 1 month ago
JSON representation
Java REST API with Micronaut, Quarkus, and Spring Boot
- Host: GitHub
- URL: https://github.com/oktadev/okta-java-rest-api-comparison-example
- Owner: oktadev
- Fork: true (denieus/java-rest-comparison)
- Created: 2019-12-19T00:40:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-07T16:00:01.000Z (about 3 years ago)
- Last Synced: 2024-09-25T20:03:50.815Z (about 2 months ago)
- Topics: java, micronaut, quarkus, rest, rest-api, spring-boot
- Language: Batchfile
- Homepage: https://developer.okta.com/blog/2020/01/09/java-rest-api-showdown
- Size: 124 KB
- Stars: 18
- Watchers: 1
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java REST API Showdown: A Comparison Among The Best Frameworks In The Market
This example shows how to create Java REST APIs with Micronaut, Quarkus, and Spring Boot.
Please read [Java REST API Showdown: A Comparison Among The Best Frameworks In The Market](https://developer.okta.com/blog/2020/01/09/java-rest-api-showdown) for a tutorial that shows you how to build each application.
**Prerequisites:**
* [Java 11](https://adoptium.net/)
> [Okta](https://developer.okta.com/) has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage and secure users and roles in any application.
* [Getting Started](#getting-started)
* [Help](#help)
* [Links](#links)
* [License](#license)## Getting Started
To install this example application, run the following commands:
```bash
git clone https://github.com/oktadev/okta-java-rest-api-comparison-example.git
```This will get a copy of the project locally. There are three folders: `micronaut`, `quarkus`, and `spring-boot`.
### Create a Free Okta Developer Account
If you don't have one, [create an Okta Developer account](https://developer.okta.com/signup/). After you've completed the setup process, log in to your account and navigate to copy the `Org URL` in from the top right corner of the page, it will look something like: `https://dev-123456.okta.com`.
Paste the value of `{yourOktaDomain}` into the following files:
* `micronaut/src/main/resources/application.yml`
* `quarkus/src/main/resources/application.properties`
* `spring-boot/src/main/resources/application.properties`### Start the application
To start each application you can use the commands below:
* Micronaut: `./mvnw mn:run`
* Quarkus: `./mvnw compile quarkus:dev`
* Spring Boot: `./mvnw spring-boot:run`## Links
This example uses the following libraries provided by Okta:
* [Okta Spring Boot Starter](https://github.com/okta/okta-spring-boot)
## Help
Please post any questions as comments on the [blog post](https://developer.okta.com/blog/2020/01/09/java-rest-api-showdown), or visit our [Okta Developer Forums](https://devforum.okta.com/).
## License
Apache 2.0, see [LICENSE](LICENSE).