Tea Coders is an IT consulting and software product development company that designs, develops and deploys solutions based on AI and Machine Learning. These are accessible through web, mobile, and embedded software products for clients across the World. Our customers include start-ups as well as some of the renowned companies. Focused on Artificial Intelligence-driven IoT, we create solutions that address the pressing challenges of the customers
Clone the repo
git clone https://github.com/teacoders/laravel-notification-example.gitGo to project directory
cd laravel-notification-exampleInstall all composer dependencies
composer installInstall all npm dependencies and compile them
npm install && npm run devcopy .env.example to .env
cp .env.example .envGenerate keys for your project
php artisan key:generateChange into following enviroment variable
DB_CONNECTION=your_db_connection
DB_HOST=db_host_name
DB_PORT=db_port
DB_DATABASE=db_name
DB_USERNAME=db_user_name
DB_PASSWORD=db_password
// You can use another queue driver if you want and if you don't want to use the queue then don't change it and don't run any commands related to the queue
QUEUE_CONNECTION=database
// add mailtrap or other mail service credentials
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tlsAnd
php artisan queue:table
php artisan migrate
php artisan serve
// open new terminal and run
php artisan queue:work