Skip to content

antimech/url-shortener

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published