shrinkster

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: MIT

README

Shrinkster

Shrinkster is a URL shortener project built with Go. The project is deployed to https://shrink.ch

Installation

Shrinkster comes with a CLI application that can be used to create and manage short URLs. To install the CLI, run the following command:

brew install bueti/tap/shrink

or if you prefer to install it manually download it from the releases page.

Setup

Docker Compose is used to run the application and its dependencies. To get everything up and running locally, run the following command:

docker compose up --build

This will start the server and a Postgres database. You will have to configure the environment variables (via and .env file), or adapt the startup parameters to match your environment.

Deployment

Shrinkster uses Github Actions to build a Docker image and push it to Docker Hub. Lastly, the image is deployed to an OVH VM using Docker Compose.

License

This project is licensed under the MIT License - see the LICENSE file for details

Directories

Path Synopsis
cmd
api
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL