ogzhanolguncu / nextjs-url-shortener-ts

Home Page:https://nextjs-url-shortener-ts.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Url Shortener

Simple url shortener with NextJS13 App Router, Typescript, Upstash Redis, Tailwind

Idea behind this project to create a simple url shortener with least amount of clutter with latest technologies. Only has shortening url, redirecting to original url and showing the recently shortened urls based on cookie of the user.

Running the app

Live App

In order to run the you need couple of api keys. Create a .env file with these configs in it:

UPSTASH_SECRET_URL="--"
UPSTASH_SECRET_TOKEN="--"

For Redis, you can use Upstash Redis and create redis db, and just copy the keys to .env file. Finally,

npm run dev

Tech Stack

  • NextJS13 App Router
  • Typescript
  • Redis - Upstash Redis
  • Tailwind
  • Vitest

Feedback

If you have any feedback, please reach out to me or feel free to open up an issue.

About

https://nextjs-url-shortener-ts.vercel.app


Languages

Language:TypeScript 94.4%Language:JavaScript 4.6%Language:CSS 1.0%