Skip to content

AppDev's url shortener service (available at cuapp.dev).

Notifications You must be signed in to change notification settings

cuappdev/url-shortener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppDev URL Shortener (cuapp.dev)

Author

This repository was created by Archit Mehta, Team Lead '24.

Description

The AppDev URL shortener is an internal tool used by the team to generate shortlinks for marketing, internal forms, and miscellaneous links we wish to publicize. The tool also enables QR code generate and visit tracking to gauge engagement for various marketing campaigns.

Tech Stack

The backend is built in TypeScript with Express, using a MongoDB database with schemas powered by Typegoose. The backend also handles authentication via Firebase Auth

The frontend was built in NextJS 13, which should potentially be updated to version 14.0+ in the future for improved performance. It also leverages a component library called DaisyUI to simplify styling. The frontend is deployed on Vercel

Usage

You should begin by installing both the frontend and backend dependencies by running yarn in each folder.

Next, duplicate the .envtemplate in backend and update the variables with their corresponding values. Begin running the backend via yarn dev in the backend/ folder

In frontend/, copy the .envtemplate and rename it .env.local, entering the host (e.g., localhost) and the port on which the backend process is running (note that on the product deployment the server url has already been configured and can be modified on Vercel).

You can now begin running the frontend via yarn dev

About

AppDev's url shortener service (available at cuapp.dev).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.6%
  • CSS 14.6%
  • JavaScript 2.4%
  • Dockerfile 0.4%