Application allows User to check availability of Web Pages returning them HTTP response code and parses it into a Message.
- Checking the response of specific Website
- Allows User to have one main Website assigned
- Checks every 5 minutes if User Website is reachable
- Send direct e-mail to User if the HTTP return 404 3 times
Language: PHP 8
Framework: Laravel 9, Livewire
Styling: TailwindCSS
Get the project from my GitHub:
git clone https://github.com/peroxovy/laravel-pingit.git
Use composer to install all dependencies:
composer install
composer update
Setup .env file (database name, mail variables)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=pingit
DB_USERNAME=root
DB_PASSWORD=
[...]
MAIL_MAILER=smtp
MAIL_HOST=your.smtp.server
MAIL_PORT=25
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"
Migrate database table:
php artisan migrate
Build the CSS:
npm run build
or if you want live preview after every save made, run live server of Vite:
npm run dev
And you ready to go :)