Skip to content

Yet another URL s̶h̶o̶r̶t̶e̶n̶e̶r̶ cutter.

License

Notifications You must be signed in to change notification settings

LautyFarias/cURLtter

Repository files navigation

cURLtter

cURLtter Icon

Yet another URL s̶h̶o̶r̶t̶e̶n̶e̶r̶ cutter.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

cURLtter uses Turso as database provider.

To run locally this project you need create a database in it a create a .env file with the next variables:

TURSO_AUTH_TOKEN=ey***
TURSO_DATABASE_URL="libsql://***.turso.io"

Then, apply the last Prisma migration:

turso db shell $DATABASE_NAME < ./prisma/migrations/$LAST_MIGRATION/migration.sql

Finally, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

Inspiration

cURLtter tries replicate the functionalities of common URL shorteners and Slug by pheralb