Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodolfobandeira/comment-store-app-springboot
Simple Microservice using SpringBoot.
https://github.com/rodolfobandeira/comment-store-app-springboot
java microservice microservices sample-microservice spring spring-boot
Last synced: about 1 month ago
JSON representation
Simple Microservice using SpringBoot.
- Host: GitHub
- URL: https://github.com/rodolfobandeira/comment-store-app-springboot
- Owner: rodolfobandeira
- License: mit
- Created: 2017-04-20T03:10:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T03:25:07.000Z (almost 8 years ago)
- Last Synced: 2024-10-30T21:27:21.977Z (3 months ago)
- Topics: java, microservice, microservices, sample-microservice, spring, spring-boot
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample Microservice using SpringBoot.
`mvn springboot:run`
---
```
Basic Auth:Username: admin
Password: password
```---
`/create` POST
Body:
```
comment: 'foo'
pageId: 'abc123'
emailAddress: [email protected]
username: rodolfo
```---
`/list/{id}` GET
```
{
"id": "ac8682c3-79d3-47f6-a6c5-5c5869c00ea7",
"username": "rodolfo",
"emailAddress": "[email protected]",
"comment": "Hi test comment One!!",
"created": 1492657983209
}
```
---`/listall` GET
```
[
{
"id": "ac8682c3-79d3-47f6-a6c5-5c5869c00ea7",
"username": "rodolfo",
"emailAddress": "[email protected]",
"comment": "Hi test comment One!!",
"created": 1492657983209
},
{
"id": "3243ac76-d47c-4886-8494-967137fb44d7",
"username": "rodolfo",
"emailAddress": "[email protected]",
"comment": "Hi test comment One!!",
"created": 1492657989762
}
]
```