sre_test_task
Version, currently master branch1 version
- master branchlatestOct 22, 2018
github.com/miry/url-shortening-cr
Sample Crystal lang web application
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
sre_test_task:
github: miry/url-shortening-cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.24.1- License
- MIT
- Author
- Michael Nikitochkin
- Target
sre_test_taskfrom src/server.cr
Dependencies
Runtime Dependencies
README
URL shortening
Sample crystal lang web application to work with redis. Minimized Docker image.
Endpoints
- POST /url
Build
- Install
brew install crystal-lang - Download dependicies
crystal deps - Run the server
crystal run src/server.cr
Docker
$ docker build -t miry/url-shortening-cr .
$ docker run --net=host -d redis
$ docker run -e BASENAME="http://$(docker-machine ip):3000" -it --net=host miry/url-shortening-cr
Profile
- [2018.01.12 14:00] Deployed to minikube
- [2018.01.12 12:00] Build k8s resources
- [2018.01.11 21:45] Finished to build web app
- [2018.01.11 15:25] Started to build web app
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Oct 22, 2018
- Crystal
0.24.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/miry/url-shortening-cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1