A simple URL shortener web app made with Laravel and Vue.js
git clone https://github.com/antimech/url-shortener.git
cd url-shortener
composer install
npm install
Update your .env
file with the database you want to use:
-DB_CONNECTION=mysql
-DB_HOST=127.0.0.1
-DB_PORT=3306
-DB_DATABASE=blog
-DB_USERNAME=root
-DB_PASSWORD=
+DB_CONNECTION=sqlite
Migrate the database:
php artisan migrate
Fill the database with random data for demo purposes:
php artisan db:seed
Run it:
php artisan serve
npm run dev
php artisan test