Skip to content
/ uka-url Public

Simple URL Shortener using Blade Template System, Laravel Routing, Eloquent ORM and Bootstrap

Notifications You must be signed in to change notification settings

ukadev/uka-url

Folders and files

NameName
Last commit message
Last commit date
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 26, 2021
Feb 26, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 24, 2021
Feb 26, 2021
Feb 24, 2021
Feb 26, 2021
Apr 29, 2021
Feb 24, 2021

Repository files navigation

Uka-url URL Shortener

Built with Lumen 8.x, Bootstrap v5 and jQuery-3.5.1

See the DEMO or just go down to the screenshot

Prerequisites

To make the application working you are going to need:

  • LAMP environment or equivalent with mod_rewrite enabled
  • composer

Installation

Follow the next instructions:

  • Open console/terminal and run:
    git clone https://github.com/ukadev/uka-url.git
  • Enter into the cloned folder and run:
    composer install
  • Open the file .env in the application root directory (if doesn't exist, copy it from .env.example) and modify the following variables with your database connection details:
    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=homestead
    DB_USERNAME=homestead
    DB_PASSWORD=secret
  • After configure the database variables, execute the command from the root of the application:
    php artisan migrate
  • Set up your virtual host to point to the folder called public as the website root folder. You can use the next example if you want it (may require modifications):
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/public
        <Directory /var/www/public>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride all
                Order Deny,Allow
                Allow from all
                Require all granted
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Extra notes

  • If you want to add a value to the KEY variable of the .env file, you can execute the following command in the console/terminal and paste it there:
    php -r "echo md5(uniqid()).\"\n\";"

ScreenShot

About

Simple URL Shortener using Blade Template System, Laravel Routing, Eloquent ORM and Bootstrap

Resources

Stars

Watchers

Forks

Packages

No packages published