This is a simple login project built with Laravel. The frontend was adapted from FreeFrontend because I prefer focusing on backend development rather than frontend. It provides basic user authentication features.
Ensure you have the following installed on your system:
- PHP
- Composer
git clone <repository-url>
cd <repository-folder>Run the following command to install all Laravel dependencies:
composer installCreate a .env file in the root directory by copying the example file:
cp .env.example .envOpen the .env file in a text editor and configure the database settings. For example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_passwordSet up the database tables by running migrations:
php artisan migrateStart the Laravel development server:
php artisan serveThe application will be accessible at http://127.0.0.1:8000.
The frontend for this login application was adapted from FreeFrontend. As a backend developer, I prefer not to spend time on frontend design. If you'd like to enhance or customize the frontend, feel free to modify the views located in the resources/views directory.
- If you need to reset the database, run:
php artisan migrate:refresh