https://github.com/hinha/simple-restapi-go
https://github.com/hinha/simple-restapi-go
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hinha/simple-restapi-go
- Owner: hinha
- Created: 2020-02-22T17:41:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T17:48:34.000Z (over 5 years ago)
- Last Synced: 2025-01-08T09:11:09.174Z (5 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-restapi-go
### How to use
Using MongoDB:
```bash
export URL_DB=mongo
export MONGO_URL=
export MONGO_TIMEOUT=30
export MONGO_DB=
```Using Redis:
```bash
export URL_DB=redis
export REDIS_URL=redis://localhost:6379
```### Running Application
```bash
go run main.go
```