Features:
- Users can subscribe to the newsletter
- Admin dashboard to:
- See the list of subscriber emails
- Create and publish a newsletter
- Change the header and description for the landing page
- Users can unsubscribe form the newsletter
Clone the repo locally:
git clone https://github.com/MohAlkurdi/newsletter-app.git && cd newsletter-app
Install PHP dependencies:
composer install
npm install
Setup configuration:
cp .env.example .env
Generate application key:
php artisan key:generate
Run database migrations:
php artisan migrate
Run database seeder:
php artisan db:seed
Create filament user (to access the dashboard)
php artisan make:filament-user
Run the dev server
php artisan serve
You're ready to go! Visit
http://localhost:8000/
Dashboard At
http://localhost:8000/admin/login
To run the tests for the application, you can use the following command:
./vendor/bin/pest