Skip to content

URL shortener webpage prototype (Laravel + Inertia.js + Vue.js).

Notifications You must be signed in to change notification settings

Str3ltsov/url-shortener

Repository files navigation

Url Shortener

The purpose of this webpage is to take any full URL and generate a short version of it.

This project was built using Laravel, InertiaJS, and VueJS for a task in one company's hiring process.

Setup process

Prerequisites.

  • PHP
  • Composer
  • XAMPP / LAMP / WAMP

Setup

  1. First clone or download the project.
git clone https://github.com/Str3ltsov/url-shortener.git
  1. Install all of the PHP dependencies.
composer install

Note: If you run into any errors during the install process. Run:

composer update
  1. Generate an app encryption key.
php artisan key:generate
  1. Create a database for your project.
  2. Enter your database credentials in the .env file to connect.
DB_HOST=127.0.0.1 
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_userpassword
  1. Migrate the database.
php artisan migrate
  1. Install all of the JavaScript dependencies.
npm install
  1. Compile the project.
npm run dev
  1. After the project compiles, you may finally run it.
php artisan serve

About

URL shortener webpage prototype (Laravel + Inertia.js + Vue.js).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published