Skip to content

Simple URL shortener built with Laravel, Inertia.js, React.js and Mantine UI Kit.

Notifications You must be signed in to change notification settings

bcalik/laravel-inertia-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-Inertia URL Shortener for Mobile Links

This is a simple URL shortener for mobile links.
It generates short URLs for mobile links to deep link into mobile apps, if the app is installed.
If the app is not installed, it redirects to the App Store or Google Play Store.
If the link is opened on a desktop browser, it redirects to the web page.

App is built with Laravel, Inertia.js, React.js and Mantine UI Kit.

Screenshot

Installation

cp .env.example .env
composer install

# Start docker containers
./vendor/bin/sail up

# Generate app key
./vendor/bin/sail artisan key:generate

# Run database migrations and seeder
./vendor/bin/sail artisan migrate --seed

# Install npm dependencies
npm install

# Start frontend development environment
npm run hot

Visit to access the app: http://localhost:8001

You can adjust following ports from .env file if needed:

APP_PORT=8001
APP_URL=http://localhost:8001

# Docker/Sail Ports. See docker-compose.yml for details.
FORWARD_DB_PORT=33061
FORWARD_REDIS_PORT=63791

Testing

./vendor/bin/sail artisan test

About

Simple URL shortener built with Laravel, Inertia.js, React.js and Mantine UI Kit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published