mdhmaiti / onurl-medha

URL shortener created with Next.js, TypeScript, Tailwind CSS & Prisma.

Home Page:https://onurl.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OnURL

OnURL is a URL shortener which makes it easy to shorten and share your URLs.
Live site on Vercel is here.

💻 Tech Stack

⌨️ Development

TODO: README will be updated for using Dev Containers.

First, you need to set a MongoDB connection string for DATABASE_URL in .env.development.

Install dependencies:

npm install

Create db constaints (like @unique indexes):

npm run db:migrate

Run it in development mode:

npm run dev

🚀 Build

First, we need to set a MongoDB connection string for DATABASE_URL in .env.production.

After that, we need to run the below command first to create a production build:

npm run build

And we can run the app in production mode by running:

npm start

About

URL shortener created with Next.js, TypeScript, Tailwind CSS & Prisma.

https://onurl.vercel.app/

License:GNU General Public License v3.0


Languages

Language:TypeScript 80.0%Language:JavaScript 11.6%Language:Dockerfile 7.5%Language:CSS 0.7%Language:Shell 0.2%