A simple URL shortner that does exactly as the name implies.
Click here to try out the demo
- React/Next.js ✅
- Serverless Next.js API ✅
- SQL/Prisma ✅
- Typescript ✅
- TailwindCSS ✅
1: npm install
.
1: Create a .env
file and add your MySQL connection URI to it (have a look at the .env.example file).
2: Run the init prisma migration.
4: npx prisma generate
to generate the prisma client types.
5: npm run dev
and head over to http://localhost:3000
6: That's it! If you got anything you'd like to add just open up a PR and I'd be happy to look it over and merge it in.