https://github.com/alvincoded/laravel-login
https://github.com/alvincoded/laravel-login
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alvincoded/laravel-login
- Owner: AlvinCoded
- Created: 2023-03-07T11:28:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T21:03:27.000Z (over 1 year ago)
- Last Synced: 2025-03-22T15:22:35.246Z (about 1 year ago)
- Language: PHP
- Size: 3.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
This is a Laravel application that allows users to login either using the form or by social login and will be redirected to a dashboard. This application was built using (the latest version at the time of writing this) Laravel v10.2.0.
## Requirements
- PHP version 8.1 or higher
- Composer Installed.
## Default Login Details
- Email: alvin@example.com
- Password: password.
## Functionalities
- Users can log in either using the form or by social login.
- Users will be redirected to a dashboard upon successful login.
- The dashboard will greet the user apropriately depending on time of day.
- The user would also be shown which way the used to login. For example, if use logs in via Google, it will show them on dashboard that they logged in using Google
### Installation
- Clone the repository
- Run `composer install` to install dependencies
- Create a copy of the `.env.example` file and rename it to `.env`
- Generate an application key using the command `php artisan key:generate`
- Set up your database connection in the `.env` file
- Run the database migrations using the command `php artisan migrate`
- (Optional) Seed the database with test data using the command `php artisan db:seed`
- Start the application using the command `php artisan serve`
- Add the respective client IDs, secret keys and URIs for the social logins (Google, Facebook and Twitter)
- Locate their (Google, Facebook and Twitter) API portals, create accounts and obtain these details, and input the details in the `.env` file.
## License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).