Skip to content

jkdv-systeme/shortme-api-go

Repository files navigation

short-me API

This is the API for the short-me project. It is a simple URL shortener.

Used technologies

How to run

  • Install docker and docker-compose
  • Copy .env.example to .env and fill the variables
  • Run docker-compose up -d
  • Run air to start the server with hot reloading
  • The API will be available at localhost:4682

Hints

  • utils already has functions implemented for generating a random string of any length and validating incoming dtos
  • There already is a DTO for the ShortLink model in dtos/links.go

About

Golang Example API (Url shortener)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published