This is a simple shortlink / shorturl project. This can shorten your long url to be very short.
This project written in javascript, built using vuejs framework, tailwind css, and some library.
Backend: https://github.com/man20820/shorturl-backend
rename .env.example to .env
set VUE_APP_BASE_UR in env or Dockerfile file
npm install
npm run serve
npm run build
npm run lint
clone this repository
git clone https://github.com/man20820/shorturl-frontend.git
build docker image and run the container
docker build . -t ghcr.io/man20820/shorturl-frontend
run container
docker run -p 0.0.0.0:80:80/tcp ghcr.io/man20820/shorturl-frontend