Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AmayaFramework/amaya-core
An amaya framework module that implements a web application and its infrastructure.
https://github.com/AmayaFramework/amaya-core
amaya framework http-framework http-server java java-11 java-17 java-21 java-web-framework microservice servlet web-framework
Last synced: 2 months ago
JSON representation
An amaya framework module that implements a web application and its infrastructure.
- Host: GitHub
- URL: https://github.com/AmayaFramework/amaya-core
- Owner: AmayaFramework
- License: apache-2.0
- Created: 2022-01-28T21:32:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T09:37:45.000Z (3 months ago)
- Last Synced: 2024-10-13T15:41:55.003Z (3 months ago)
- Topics: amaya, framework, http-framework, http-server, java, java-11, java-17, java-21, java-web-framework, microservice, servlet, web-framework
- Language: Java
- Homepage:
- Size: 547 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# amaya-core [![maven-central](https://img.shields.io/maven-central/v/io.github.amayaframework/amaya-core/2.0.0?color=blue)](https://repo1.maven.org/maven2/io/github/amayaframework/amaya-core/2.0.0)
An amaya framework module that implements a web application and its infrastructure.
## Getting Started
To install it, you will need:
* Java 11+
* Maven/Gradle
* Any amaya-server implementation (for example, [amaya-jetty](https://github.com/AmayaFramework/amaya-jetty))## Installing
### Gradle dependency
```Groovy
dependencies {
implementation group: 'io.github.amayaframework', name: 'amaya-core', version: '2.0.0'
}
```### Maven dependency
```
io.github.amayaframework
amaya-core
2.0.0```
## Usage example
### Hello, world
Gradle dependency section:
```Gradle
dependencies {
implementation group: 'io.github.amayaframework', name: 'amaya-core', version: '2.0.0'
implementation group: 'io.github.amayaframework', name: 'amaya-jetty', version: '1.0.0'
}
```Java code:
```Java
import io.github.amayaframework.core.WebBuilders;
import io.github.amayaframework.jetty.JettyServerFactory;public class Main {
public static void main(String[] args) throws Throwable {
var builder = WebBuilders.create();
var app = builder
.setServerFactory(new JettyServerFactory())
.build();
app.bind(8080);
app.run(ctx -> ctx.getResponse().getWriter().write("Hello, I am Amaya"));
}
}
```## Built With
* [Gradle](https://gradle.org) - Dependency management
* [jfunc](https://github.com/RomanQed/jfunc) - Functional interfaces
* [jakarta.servlet](https://projects.eclipse.org/projects/ee4j.servlet) - Servlet API## Authors
* [RomanQed](https://github.com/RomanQed) - *Main work*
* [max0000402](https://github.com/max0000402) - *Technical advices and ideas for features*See also the list of [contributors](https://github.com/AmayaFramework/amaya-core/contributors) who participated
in this project.## License
This project is licensed under the Apache License Version 2.0 - see the [LICENSE](LICENSE) file for details
## Acknowledgments
Thanks to everyone who was interested in this framework, gave advices and suggested ideas.