Quick Start
In this guide, we are going to create a sample HTTP service. You can read the Core or HTTP Server modules documentation for more information. You can use both Gradle and Maven to build your application.
You can start by cloning a starter project (Gradle Starter or Maven Starter). Or you can create a project from scratch following these steps:
1 2 3 4 5 |
|
1 2 3 4 5 |
|
- Write the code in the
src/main/kotlin/Hello.kt
file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
- Run the service and view the results at: http://localhost:2010/hello/hex
Dependencies Verification¶
Hexagon's dependencies are signed, you can get the public key at the OpenPGP Public Key Server or here.
These are the details of the public key:
1 2 |
|
Dependencies Verification (hexagontk.com)¶
Hexagon's dependencies are signed, you can get the public key at the Ubuntu Public Key Server or here.
These are the details of the public key:
1 2 |
|
Next Steps¶
To continue learning about this toolkit, you can:
- Read the Core or HTTP Server modules documentation for details on specific modules.
- Clone the Gradle Starter or Maven Starter repository for a minimal fully working example (including tests).
- Proceed to the Examples section to check code snippets or full example projects.