Simple URL Shortener using Blade Template System, Laravel Routing, Eloquent ORM and Bootstrap
This app is made using:
In order to get this app working, you have to execute just a few steps (you must have composer installed):
$ composer create-project ukadev/uka-url YOURFOLDER
Please note you have to replace YOURFOLDER with the name of the folder you want to install it
Then go to:
/app/Database/
and import the file named ukaurl.sql into your MySQL Database or just execute the next query:
CREATE TABLE `urls` (
`id` char(6) COLLATE utf8_unicode_ci NOT NULL,
`original` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`counter` int(6) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
And finally configure the database information inside the file:
/app/Config/Database.php