Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RitterHou/Geisha
Tiny Java Web Framework.
https://github.com/RitterHou/Geisha
mvc-framework
Last synced: 2 months ago
JSON representation
Tiny Java Web Framework.
- Host: GitHub
- URL: https://github.com/RitterHou/Geisha
- Owner: RitterHou
- License: gpl-3.0
- Created: 2017-10-19T15:24:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T09:31:16.000Z (almost 7 years ago)
- Last Synced: 2024-08-03T17:21:47.738Z (6 months ago)
- Topics: mvc-framework
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 141
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geisha
_Tiny Java MVC Framework._
[> more detail](https://www.nosuchfield.com/2017/11/08/Geisha-Tiny-Java-MVC-Framework/)
## Requirements
* Java8+
## Dependency
Apache Maven
com.nosuchfield
geisha
1.0.0-RELEASE
Apache Buildr'com.nosuchfield:geisha:jar:1.0.0-RELEASE'
Apache Ivy
Groovy Grape@Grapes(
@Grab(group='com.nosuchfield', module='geisha', version='1.0.0-RELEASE')
)
Gradle/Grailscompile 'com.nosuchfield:geisha:1.0.0-RELEASE'
Scala SBTlibraryDependencies += "com.nosuchfield" % "geisha" % "1.0.0-RELEASE"
Leiningen[com.nosuchfield/geisha "1.0.0-RELEASE"]
## Example```java
@Component
@RequestMapping("/person")
public class Hello {@RequestMapping("/info")
public String hello(@Param("name") String name, @Param("age") String age) {
return "hello " + name + ", your age is " + Integer.valueOf(age);
}}
```
```java
public class Application {public static void main(String[] args) {
Geisha.run();
}}
```
Run Application and visitResult:
hello 张三, your age is 18
## License GPLProject License can be found [here](https://github.com/RitterHou/Lilith/blob/master/LICENSE).