Skip to content

antimech/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

94e428d · Dec 21, 2023

History

16 Commits
Dec 20, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Dec 8, 2023
Dec 8, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Jun 29, 2020
Dec 21, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Dec 12, 2023
Dec 12, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023
Nov 4, 2023

Repository files navigation

URL Shortener

A simple URL shortener web app made with Laravel and Vue.js

Installation

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

Testing

php artisan test