Skip to content

crissto/links.crissto.dev

Repository files navigation

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

It's a link shortener that takes the path and tries to match to a key in links.json and redirects there if there is a url.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

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

Adding a new url

To add a new redirect just add a new key in links.json and <BASE_URL>/<key> will redirect there.