Find a file
dependabot[bot] e02dbe94b0
Bump @types/uuid from 10.0.0 to 11.0.0
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>
2025-09-22 03:26:06 +00:00
.github Bump actions/checkout from 4 to 5 2025-09-01 06:02:33 +00:00
public added a folder to have docker build 2025-07-11 01:47:44 +02:00
src fixed errors 2025-07-11 01:44:22 +02:00
.dockerignore finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
.env.example finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
.gitignore finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
bun.lock Merge pull request #19 from Kizuren/dependabot/npm_and_yarn/next-15.4.6 2025-09-02 00:15:39 +02:00
docker-compose-build.yml finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
docker-compose.yml finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
Dockerfile finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
eslint.config.mjs finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
next.config.ts finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
package.json Bump @types/uuid from 10.0.0 to 11.0.0 2025-09-22 03:26:06 +00:00
postcss.config.mjs finished µLinkShortener v2 2025-07-11 00:59:08 +02:00
README.md Updated README.md 2025-07-11 03:55:07 +02:00
tsconfig.json finished µLinkShortener v2 2025-07-11 00:59:08 +02:00

µ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

  1. Clone the repository
  2. Define environment variables in the .env file:
    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

  1. Install dependencies:
    bun install
    
  2. Build and run:
    bun run build
    bun run start
    

With Docker

  1. Build and run with docker compose:
    docker-compose -f docker-compose-build.yml up --build
    
  2. Use of pre-built image:
    docker compose up -d
    

Docker Deployment

  1. Build and run containers:
    docker-compose up --build
    
  2. The application will be available at http://localhost:3000

License

This project is licensed under the MIT License. See the LICENSE file for details.