This project is a user registration system developed using Laravel. It allows users to register by providing personal details and validates the input data both client-side and server-side. Additionally, it sends an automatic email notification upon successful registration. The system also supports multiple languages using Laravel's multi-language feature.
- User Registration Form: Allows users to register by providing personal details.
- Client-side Validation: Ensures all form fields are mandatory and have correct data types.
- Server-side Validation: Checks if the username is not already registered before allowing submission.
- Automatic Email Notification: Sends an email notification titled "New registered user" upon successful registration.
- Multi-language Support: Supports English and Arabic languages for the registration form and website content.
- Header and Footer: Includes a custom header and footer design in the registration webpage.
- IMDb API Integration: Allows users to check actors born on the same day as their birthdate.
-
Clone the repository:
git clone https://github.com/your/repository.git
-
Install dependencies:
composer install
-
Copy
.env.example
to.env
and configure your environment variables:cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Set up your database in the
.env
file:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravelregisterdb DB_USERNAME=root DB_PASSWORD=
-
Migrate the database:
php artisan migrate
-
Run the server:
php artisan serve