Yet another URL s̶h̶o̶r̶t̶e̶n̶e̶r̶ cutter.
This is a Next.js project bootstrapped with create-next-app
.
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.
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Turso Quickstart - learn about how to start with Turso.
- Prisma + Turso - how to integrate Prisma ORM with Turso database.
cURLtter tries replicate the functionalities of common URL shorteners and Slug by pheralb