GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - drawliin/url-shortener: Self-hosted URL shortener — shorten links, track clicks, run your own short-link service. Laravel 10 API + React + TypeScript. Docker, MySQL, analytics included.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
frontend
frontend
 
 
.env.docker.example
.env.docker.example
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

URL Shortener Monorepo

This workspace contains:

  • backend/ Laravel 10 REST API
  • frontend/ React + Vite + TypeScript SPA

Run With Docker (Recommended)

  1. Create docker env file:
cp .env.docker.example .env.docker
  1. Build and start:
docker compose --env-file .env.docker up --build -d

First startup may take 1-3 minutes because MySQL initializes.

  1. Stop:
docker compose --env-file .env.docker down
  1. Stop and remove DB volume:
docker compose --env-file .env.docker down -v

Folder Structure

url-shortener/
  backend/
  frontend/
  docker-compose.yml

Run Locally

  1. Start backend:
cd backend
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan serve
  1. Start frontend (new terminal):
cd frontend
npm install
cp .env.example .env
npm run dev

URLs

  • Backend: http://localhost:8000
  • Frontend: http://localhost:5173
  • MySQL: localhost:3306

About

Self-hosted URL shortener — shorten links, track clicks, run your own short-link service. Laravel 10 API + React + TypeScript. Docker, MySQL, analytics included.

url-shortener-front.fly.dev/

Topics

dockerlaravellink-shortenermonorepomysqlopen-sourcephpreactrest-apiself-hostedspatypescripturl-shortener

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.