The server component to a very nerdy url shortner
Just run echo google.com | nc shortie.sh
in a terminal.
(You might need to install netcat)
If netcat complains about a port, use port 31337 or whatever port you specified in docker.
shortie-server exposes two APIs:
-
The OpenAPI spec is available at api/rest/openapi.yml
-
The GraphQL schema is available at api/graphql/schema.gql
A sandbox is available when you visit the endpoint in a browser.
Use the included docker-compose.yml
file!