A URL shortener using Next.js 14 server actions, Postgres or SurrealDB, Shadcn/ui, and Tailwind.
Find a file
2024-02-18 07:08:44 -08:00
.devcontainer init 2024-02-15 13:23:35 -08:00
src fixed 2024-02-18 07:08:44 -08:00
.dockerignore more stats 2024-02-17 12:30:24 -08:00
.eslintrc.json init 2024-02-15 13:23:35 -08:00
.gitignore init 2024-02-15 13:23:35 -08:00
.prettierignore init 2024-02-15 13:23:35 -08:00
components.json init 2024-02-15 13:23:35 -08:00
CONTRIBUTING.md init 2024-02-15 13:23:35 -08:00
docker-compose.dev.yml more stats 2024-02-17 12:30:24 -08:00
docker-compose.yml fixed 2024-02-18 07:08:44 -08:00
Dockerfile init 2024-02-15 13:23:35 -08:00
LICENSE-Apache init 2024-02-15 13:23:35 -08:00
LICENSE-MIT init 2024-02-15 13:23:35 -08:00
next.config.js fix redirect 2024-02-16 03:32:32 -08:00
package-lock.json broken 2024-02-17 18:28:17 -08:00
package.json broken 2024-02-17 18:28:17 -08:00
postcss.config.js init 2024-02-15 13:23:35 -08:00
README.md fixed 2024-02-18 07:08:44 -08:00
shell.nix init 2024-02-15 13:23:35 -08:00
tailwind.config.ts init 2024-02-15 13:23:35 -08:00
tsconfig.json broken 2024-02-17 18:28:17 -08:00

Install

Copy docker-compose.yml

Create data folder next to docker-compose.yml and .env, and set the data type in .env

├── data
│   └── surrealdb
├── docker-compose.yml
└── .env

docker compose up --pull always -d

Example .env

# If not using docker, use 0.0.0.0:8000
DB_URL_PORT=surrealdb:8000
DB_USER=root
DB_PASSWORD=root

License

All code in this repository is dual-licensed under either License-MIT or LICENSE-APACHE at your option. This means you can select the license you prefer. Why dual license