Everifi is a web application designed to manage user profiles, allowing users to update their profile picture, name, email, and password. It also includes email confirmation functionality for secure account management. Built with Laravel Breeze and the Blade with Alpine.js stack, Everifi provides a seamless and intuitive user experience for profile management and email verification.
This project is ideal for programmers interested in exploring Laravel-based web applications, profile management systems, or contributing to an open-source project.
To set up Everifi on your local machine, follow these steps. This guide assumes you are using XAMPP (Apache and MySQL) as your local server environment and Mailtrap for email testing.
- Go to Mailtrap and create or log in to your account.
- Open the sidebar and navigate to Email Testing.
- Create a new inbox or open an existing one.
- In desktop view, ensure you are on the Integration tab on the right side of the page.
- Scroll down and select the PHP dropdown.
- Choose Laravel 9+ and click the Copy button at the far right. Save this information for later use.
- Download and install XAMPP.
- Start the Apache and MySQL services from the XAMPP Control Panel.
- Download and install Composer.
- During installation, check the box to Add
C:\xampp\php\php.exe
to PATH.
- Download and install Node.js.
- Verify the installation by running the following commands in Command Prompt:
node -v npm -v
Clone the repository to your local machine using Git:
git clone https://github.com/your-username/Everifi.git
Alternatively, download the repository as a ZIP file and extract it to your desired location.
Open Command Prompt and navigate to the project folder:
cd path\to\Everifi
-
Install Node.js dependencies:
npm install
- If you encounter permission issues, open Windows PowerShell (Administrator) and run:
Choose Y when prompted, then retry the
Set-ExecutionPolicy RemoteSigned
npm install
command.
- If you encounter permission issues, open Windows PowerShell (Administrator) and run:
-
Install Composer dependencies:
composer install
- Create a
.env
file by copying the.env.example
file:cp .env.example .env
- Generate an application key for secure encryption and decryption:
php artisan key:generate
- Create a symbolic link for the storage folder:
php artisan storage:link
- Open phpMyAdmin (or your preferred MySQL client).
- Create a new database for the project (e.g.,
everifi
).
- Open the
.env
file in a text editor. - Replace the following email configuration with the Mailtrap info you copied earlier:
MAIL_MAILER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=your_mailtrap_username MAIL_PASSWORD=your_mailtrap_password MAIL_ENCRYPTION=tls
- Update the database configuration settings:
DB_DATABASE=everifi DB_USERNAME=root DB_PASSWORD=
- Replace
everifi
with the name of the database you created. - If your database has a username and password, update
DB_USERNAME
andDB_PASSWORD
accordingly.
- Replace
- Set the
FILESYSTEM_DISK
topublic
:FILESYSTEM_DISK=public
- Run the database migrations to set up the required tables:
php artisan migrate
- Compile the frontend assets:
npm run dev
- Build the production-ready assets:
npm run build
- Start the development server:
This will start the application at
php artisan serve
http://localhost:8000
.
Open your browser and navigate to http://localhost:8000
. You should now see the Everifi application running locally.
Contributions are welcome! If you'd like to contribute to Everifi, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and push to your branch.
- Submit a pull request with a detailed description of your changes.
This project is open-source and available under the MIT License.
If you encounter any issues or have questions, feel free to open an issue on the GitHub repository.
Thank you for using Everifi! Happy coding! 🚀