Skip to content

Commit

Permalink
Merge pull request #2 from xpepper/improve_formatting_of_readme
Browse files Browse the repository at this point in the history
improve formatting on README
  • Loading branch information
Alessio authored Mar 26, 2020
2 parents 21016cc + 466b1b9 commit de7ac9d
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,42 @@
Use Daikon Routing in your AWS Lambda

## How to add Daikon Lambda to your project
[![](https://jitpack.io/v/daikonweb/daikon-lambda.svg)](https://jitpack.io/#daikonweb/daikon-lambda)

[![daikon-lambda](https://jitpack.io/v/daikonweb/daikon-lambda.svg)](https://jitpack.io/#daikonweb/daikon-lambda)

### Gradle

- Add JitPack in your root build.gradle at the end of repositories:
```

```groovy
repositories {
...
maven { url 'https://jitpack.io' }
}
```

- Add the dependency
```

```groovy
implementation 'com.github.DaikonWeb:daikon-lambda:0.1.1'
```

### Maven
- Add the JitPack repository to your build file
```

- Add the JitPack repository to your build file

```groovy
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```

- Add the dependency
```

```groovy
<dependency>
<groupId>com.github.DaikonWeb</groupId>
<artifactId>daikon-lambda</artifactId>
Expand All @@ -41,7 +49,8 @@ implementation 'com.github.DaikonWeb:daikon-lambda:0.1.1'
```

## Getting Started
```

```kotlin
class MyHandler : HttpHandler() {
override fun routing() {
get("/") { req, res -> res.write("Hello, I'm a daikon-lambda!") }
Expand All @@ -50,13 +59,14 @@ class MyHandler : HttpHandler() {
```

## Resources
* Documentation: https://daikonweb.github.io
* Examples: https://github.com/DaikonWeb/daikon-examples

- Documentation: https://daikonweb.github.io
- Examples: https://github.com/DaikonWeb/daikon-examples

## Authors

* **[Marco Fracassi](https://github.com/fracassi-marco)**
* **[Alessio Coser](https://github.com/AlessioCoser)**
- **[Marco Fracassi](https://github.com/fracassi-marco)**
- **[Alessio Coser](https://github.com/AlessioCoser)**

## License

Expand Down

0 comments on commit de7ac9d

Please sign in to comment.