shorter Svelte Themes

Shorter

A Crystal / Svelte project with the excuse of a URL shortener

Shorter

I wanted to try some shit out in Crystal & Svelte. Sue me.

Wanna run it locally?

Development

Migrations

The project has Micrate set up because clear's migrations weren't documented enough for me to work them out. Mixing frameworks, yey!

  • Create migrations with docker-compose run --rm api crystal db/micrate.cr scaffold your_migration_name
    • Edit them in db/migrations
  • Run migrations with docker-compose run --rm api crystal db/micrate.cr up
  • Revert migrations with docker-compose run --rm api crystal db/micrate.cr down

Top categories

Loading Svelte Themes