This is a demo application built to showing you how to create a linktr.ee clone using the Laravel PHP framework.
This project comprises three simple data models and related tables:
- Users are individual accounts that a person can create on the app
- Links belong to a User and hold both a name and a valid URL
- Visits track each click that occurs on a particular link and records the info associated with it
This demo app makes use of Laravel's default bootstrapped views and authentication routes. There's a very basic dashboard that a user is directed to after logging in where they can see their links, view the amount of visits for each, add a new link, or modify the display settings on their link page.
Visiting a particular user's links page displays a simple list of their added links, with the background color and text color they selected on their settings page.
- Clone the repository to your local machine and navigate to the project's root directory in a terminal.
- Copy the
.env.example
file and name it.env
. - Update the
.env
file with the appropriate database credentials and settings. - Run
composer install
to install all the required dependencies. - Generate an application key by running
php artisan key:generate
. - Run database migrations by running
php artisan migrate
. - Run the Laravel server by running
php artisan serve
.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
This project is released under the MIT License.