Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

A URL shortener and link locker built using SvelteKit, MongoDB & D3.js

Notifications You must be signed in to change notification settings

arslanastral/sveltekit-url-shortener

Repository files navigation

🔗 URL Shortener

Features

  • Secure links using passwords
  • QR Code generation
  • localStorage history for anon users
  • user-agent based analytics using MongoDB's time series collection
  • Link tags
  • Click count

Preview:

ky-url-shortner-homepage-preview ky-url-shortner-dashboard-preview ky-url-shortner-analytics-preview ky-url-shortner-settings-preview

Local Development:

Database Setup:

This project uses MongoDB as the database. The easiest way to install it is using docker. Enter the following command on your terminal if you already have docker installed. This will install and run the latest version of mongodb.

$docker run --name ky -dit -p 27017:27017 --rm mongo

Project Setup

  • git clone this repo and cd into it and then:
  • npm install
  • npm run dev -- --open

Environment Variables:

  • VITE_MONGODB_URI=mongodb://localhost:27017
  • VITE_NODE_ENV=development

About

A URL shortener and link locker built using SvelteKit, MongoDB & D3.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published