hpfr-shortener

Hpfr Shortener

Another link shortener service.

hpfr-shortener

Another link shortener. It isn't a problem that deserves solving and it sure is not rocket science, but thats not the purpose. This is simply a small project used by me to learn a bit more about Svelte and Golang as a web platform.

Setup

  1. Clone the repository: git clone https://github.com/schaermu/hpfr-shortener.git
  2. (optional) Start a local MongoDB server: docker-compose up -d
  3. Build and run the app: make start

Build

Run docker build . to build a production-ready, distroless-based docker image. The latest version of the application is also published to the Github Registry.

Testing

Single run

  • Run all tests: make test
  • Only run Svelte tests: make test-svelte
  • Only run Go tests: make test-go

Watch mode

  • Watch all tests: make watch
  • Only watch Svelte tests: make watch-svelte
  • Only watch Go tests: make watch-go

Top categories

Loading Svelte Themes