mirror of
https://github.com/slurdge/lccx.git
synced 2026-11-11 13:13:46 +00:00
This is a simple front end for the lc.cx URL shortener. It is written in Vue with Vuetify for a nice look. The background comes from SVGBackgrounds.com.
|
|
||
|---|---|---|
| api | ||
| public | ||
| src | ||
| .gitignore | ||
| components.d.ts | ||
| eslint.config.mjs | ||
| fetch.js | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| vite.config.mjs | ||
| yarn.lock | ||
lccx
This is a simple front end for the lc.cx URL shortener. It is written in Vue with Vuetify for a nice look. The background comes from SVGBackgrounds.com.
In order to be able to use the API, a serverless function is used. The easiest way to test it is to use vercel in development mode.
You will need an API key from lc.cx. Put it in an .env file like this:
API_KEY=LCCX_API_KEY
Project setup
yarn install
Compiles and hot-reloads for development (for the frontend)
yarn serve
If you want the serverless function,
yarn run vercel dev
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint