Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barbapapazes/s.esteban-soubiran.site
Personal URLs Shortener. Feel free to fork it for your own usage!
https://github.com/barbapapazes/s.esteban-soubiran.site
cloudflare nitro nuxt unjs
Last synced: 2 months ago
JSON representation
Personal URLs Shortener. Feel free to fork it for your own usage!
- Host: GitHub
- URL: https://github.com/barbapapazes/s.esteban-soubiran.site
- Owner: Barbapapazes
- Created: 2023-09-28T10:43:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T15:32:14.000Z (9 months ago)
- Last Synced: 2024-04-13T12:59:30.662Z (9 months ago)
- Topics: cloudflare, nitro, nuxt, unjs
- Language: TypeScript
- Homepage:
- Size: 220 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal URLs Shortener
This is a personal URLs shortener built with [Nuxt 3](https://nuxt.com), [Nuxt Hub](https://hub.nuxt.com) , and [Nuxt UI Pro](https://ui.nuxt.com/pro) on top of [Cloudflare Workers](https://workers.cloudflare.com/) and [Cloudflare D1](https://developers.cloudflare.com/d1/).
> **Note**
> You can fork this project for your own use but this is more like a demo app than a production-ready app.## Setup
Make sure to install the dependencies:
```bash
bun install
```You must also create a `.env` file with the following environment variables:
```bash
NUXT_BASIC_AUTH_USERNAME=
NUXT_BASIC_AUTH_PASSWORD=
```## Development Server
Start the development server on `http://localhost:3000`:
```bash
bun run dev
```## Production
Build the application for production:
```bash
bun run build
```Locally preview production build:
```bash
bun run preview
```