Building login and registration without using Laravel features like Breeze or Jetstream, but instead using manual methods with Ajax and Bootstrap for styling. The purpose of creating this system is for learning purposes about Laravel version 10 and how Ajax works in Laravel when it hits the server. This application was created using Laravel v10 and requires a minimum of PHP v8.1, so if during the installation or usage process there are errors or bugs, it is possible that it is due to an unsupported PHP version.
- Client : Bootstrap 5, Blade Template, Ajax, Jquery
- Server : PHP with Laravel
Clone the project
git clone https://github.com/khalilannbiya/ajax-register-login.git
Or Download ZIP
Go to the project directory
cd ajax-register-login
Run the command
composer update
Or
composer install
Copy the .env file from .env.example.
cp .env.example .env
Please don't forget to create the 'db_ajax_laravel' database in phpMyAdmin.
Configure the .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_ajax_laravel
DB_USERNAME=root
DB_PASSWORD=
Generate key
php artisan key:generate
Migrate database
php artisan migrate
Run serve
php artisan serve
- Login
- Register
If you have any feedback, please reach out to us at syeichkhalil@gmail.com