This is a personal URLs shortener built with Nuxt 3, Nuxt Hub , and Nuxt UI Pro on top of Cloudflare Workers and Cloudflare D1.
Note You can fork this project for your own use but this is more like a demo app than a production-ready app.
Make sure to install the dependencies:
bun install
You must also create a .env
file with the following environment variables:
NUXT_BASIC_AUTH_USERNAME=<username>
NUXT_BASIC_AUTH_PASSWORD=<password>
Start the development server on http://localhost:3000
:
bun run dev
Build the application for production:
bun run build
Locally preview production build:
bun run preview