Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csini/letsgo-blog
https://github.com/csini/letsgo-blog
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/csini/letsgo-blog
- Owner: Csini
- License: mit
- Created: 2024-02-09T08:20:37.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-18T12:13:26.000Z (9 months ago)
- Last Synced: 2024-06-19T19:32:52.873Z (5 months ago)
- Language: Go
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go API Server for letsgo-blog
Mini Application providing something to something like a wannabe Blog.
### Running the server
1) build executable run
```
mvn clean install -Passembly
```executable is under letsgo-bog-server/bin
2) navigate to letsgo-bog-server/bin and start there
3) sqlite db with data is copied there from letsgo-blog/server/res
4) user/pw is userid/userid1 to every user
5) server url is for example
http://localhost:8085/letsgo/v1/api/statistics/200
api documentation is under letsgo-blog-api
### Running the server with docker TODO (not working yet)
To run the server in a docker container
```
docker build --network=host -t openapi .
```Once image is built use
```
docker run --rm -it openapi
```