mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 13:06:19 +01:00
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 10.0.0 to 11.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid) --- updated-dependencies: - dependency-name: "@types/uuid" dependency-version: 11.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| docker-compose-build.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
µLinkShortener v2
This project is the code behind u.kizuren.dev, a custom URL shortener. It uses Next.JS, MongoDB, and Docker for quick deployment.
Prerequisites
- Next.js
- MongoDB database (local or remote)
- Docker & Docker Compose (optional, for containerized deployments)
Setup
- Clone the repository
- Define environment variables in the
.envfile:MONGO_URI=mongodb://<username>:<password>@<host>:<port>/<database> MONGO_DB_NAME=<database> NEXTAUTH_SECRET=VERY_SECURE_SECRET NEXTAUTH_URL=http://localhost:3000
Running Locally
Without Docker
- Install dependencies:
bun install - Build and run:
bun run build bun run start
With Docker
- Build and run with docker compose:
docker-compose -f docker-compose-build.yml up --build - Use of pre-built image:
docker compose up -d
Docker Deployment
- Build and run containers:
docker-compose up --build - The application will be available at http://localhost:3000
License
This project is licensed under the MIT License. See the LICENSE file for details.