mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 13:06:19 +01:00
Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 15.3.3 to 15.3.5. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v15.3.5/packages/eslint-config-next) --- updated-dependencies: - dependency-name: eslint-config-next dependency-version: 15.3.5 dependency-type: direct:development update-type: version-update:semver-patch ... 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.marcus7i.net, 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.