URL Shortener
A URL shortening system that collects metrics and demographics from link clicks.
Posted on Feb 7, 2025, Updated on Jun 25, 2025

This project is currently in development and not yet production-ready.
Shortly is an in-development URL shortener, designed to have an intuitive mobile-first interface and a clean, modern design.
š Features
- Mobile-first, responsive interface
- Clean and modern design
- Shorten and manage links
- Analytics and link tracking (planned)
š ļø Running Locally for Development
# Clone the repository
git clone https://gitlab.beantech.uk/ollie/shortly.git
cd shortly
# Install dependencies
npm install
# Run locally
npm run dev
āļø Configuration
Create a .env file in the project root:
MONGODB_URI=<YOUR_DATABASE_URI>
AUTH_SECRET=<YOUR_SECRET>
AUTH_URL=http://localhost:3000
Refer to .env.example.
š Deployment
This project uses GitLab CI/CD to manage deployment:
main branch ā Base Pipelines
pre-production branch ā Publishing Pipelines
production branch ā Deployment Pipelines
Refer to .gitlab-ci.yml for full pipeline configuration.
š Project Structure
shortly/
āāā kubernetes/ # Kubernetes deployment template
āāā src/ # Application source code
ā āāā app/ # Page and route files
ā āāā components/ # Page components
ā āāā interfaces/ # Interface definitions
ā āāā lib/ # Utility files
ā āāā models/ # Database models
ā āāā styles/ # CSS definitions
ā āāā types/ # Type definitions
āāā scripts/ # Helper scripts for building
āāā server/ # Server source code
āāā .env.example # Environment variables
āāā package.json # Project metadata and scripts
āāā README.md
š License
This project is licensed under the MIT License. See the LICENSE file for details.
šāāļø Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
š§ Contact
For support, please report an issue via discord.