Niteroii / link-shortener

A very simple link shortener made in Laravel!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link Shortener

About the project

My Link Shortener project is a very simple one. Inspired by many sites that allow you to shorten your long url links I wanted to also create one of my own, so I did! The application supports both dark and light mode depending on user's browser settings.

Technologies used to accomplish this solution are:

Try it yourself!

First you need to clone the repository.

git clone https://github.com/svareX/link-shortener

Then install all the package and dependencies.

composer install

After that you need to setup an .env file (use the .env.example as a template)

copy .env.example .env

Generate a new application key

php artisan key:generate

Install front-end packages

npm install

Compile front-end assets in real-time

npm run dev

Now, you must leave this terminal window running and open a new one!

Create your database table.

php artisan migrate

While you have a local database server like XAMPP Then all you need to do is to start a local Laravel server.

php artisan serve

Image gallery

Fire-Shot-Capture-012-LINK-SHORTENER-localhost

Fire-Shot-Capture-013-LINK-SHORTENER-localhost

License

MIT License

Copyright (c) [2023]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A very simple link shortener made in Laravel!


Languages

Language:PHP 91.9%Language:Blade 7.3%Language:JavaScript 0.7%