https://github.com/koddsson/link-shortener
🔗 It make the link shorter.
https://github.com/koddsson/link-shortener
link-shortener
Last synced: over 1 year ago
JSON representation
🔗 It make the link shorter.
- Host: GitHub
- URL: https://github.com/koddsson/link-shortener
- Owner: koddsson
- Archived: true
- Created: 2018-08-19T21:48:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T11:45:43.000Z (about 7 years ago)
- Last Synced: 2025-02-07T07:41:34.166Z (over 1 year ago)
- Topics: link-shortener
- Language: Go
- Homepage:
- Size: 315 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# link-shortener
It make the link shorter.
## Running
Install dependencies:
```sh
go get
```
Build the application
```sh
go build
```
Start the application:
Note that you need to have elasticsearch running
```sh
ES_URL=http://localhost:9200 ./link-shortener
```
## Developing
Run tests:
```sh
go test
```
We use [`go-vcr`](https://github.com/dnaeon/go-vcr) to record HTTP requests as fixtures so if you add a new test, you'll need to spin up Elastic in order to record your request.
I'll put more info here later. This is kind of WIP right now.