DEV Community

Cover image for I built a link shortener app with NextJS
Ewelina Krzeptowska
Ewelina Krzeptowska

Posted on Edited on

I built a link shortener app with NextJS

Live demo: l.ekrzeptowski.pl

Libraries used:


I'd love to hear your feedback about this app. You can also introduce your ideas to this project by contributing to it.

Here's a link for the GitHub repo:

GitHub logo ekrzeptowski / surl

A modern link shortener

Teeny

Teeny is a modern link shortener based on Next.js

Demo: https://teeny.ovh/

Getting Started

1. Download the code of this repository by cloning it:

git clone https://github.com/ekrzeptowski/teeny.git
Enter fullscreen mode Exit fullscreen mode

2. Then navigate to directory of the cloned repository and install required dependencies:

cd teeny

npm install
# or
yarn install
Enter fullscreen mode Exit fullscreen mode

3. Configure environmental variables:

4. Configure authentication providers according to:

https://next-auth.js.org/configuration/providers

5. Finally run the app in dev environment or in production:

npm run dev
# or
npm run build
npm start
Enter fullscreen mode Exit fullscreen mode



Top comments (3)

Collapse
 
theodorusclarence profile image
Theodorus Clarence •

Cool! I‘ve been wanting to learn Prisma, thanks for the source code. How do you like Prisma compared to other ORMs?

Collapse
 
gnvageesh profile image
GNVageesh •

I am like kinda more to firestore...

Collapse
 
_genjudev profile image
Larson •

We have to much link shortener