Juan Rodriguez 587f9552c8 feat: Link model
create_links and slug index migrations. generate_slug and shorten model methods

- Create links migration - Add slug index migration
2021-06-13 10:55:05 -05:00
2021-06-13 08:01:12 -05:00
2021-06-13 10:55:05 -05:00
2021-06-13 10:46:52 -05:00
2021-06-13 10:46:52 -05:00
2021-06-13 10:55:05 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 10:55:05 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:01:22 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 10:53:34 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 10:46:52 -05:00
2021-06-13 09:01:22 -05:00
2021-06-13 09:01:22 -05:00
2021-06-13 09:01:22 -05:00
2021-06-13 10:46:52 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 09:05:20 -05:00
2021-06-13 10:46:52 -05:00
2021-06-13 10:55:05 -05:00

URL shortener

TODO

  • Create link model (make sure to create a index for the slug and click counter)
  • Generate unique slug
  • Link unit tests
  • Stimulus setup
  • Main page with input box
  • Create user model
  • User unit tests
  • Add userId key to link model
  • Login and logout (sessions)
  • Cache with redis?
S
Description
Fast, lightweight, self-hosted URL shortener service with minimal click tracking
Readme MIT 59 MiB
Languages
Crystal 98.7%
Dockerfile 1.3%