Skip to content

Fr34k9/laravel_deals

Repository files navigation

Deals

Show current deals from various deal-pages. Refresh every x minutes automatically.

What it does

Crawls different platforms from switzerland for deals and displays them on a responsive webpage.

  • First person which registers, is the only person to be able to register/login and manage deals.
  • See /register,/login for user setup

Getting Started

Assuming you've already installed on your machine: PHP (>= 8.1.0), Laravel, Composer and Node.js.

Install dependencies

composer install
npm install

Create .env file and generate the application key

cp .env.example .env
php artisan key:generate

Build CSS and JS assets

npm run dev
# or, if you prefer minified files
npm run prod

Run workers & serve application

php artisan queue:work
php artisan scheduler:work
php artisan serve

Commands

php artisan crawl:start {platform?}

Test a crawler

Currently there are no tests available because it could be that there are no offers on these websites. To test a crawler you can also call /crawl/{crawler_name} or /crawl/{crawler_id} to debug.

Created with

Laravel TailwindCSS Livewire Alpine.js

About

Top Deals Switzerland

Resources

Stars

Watchers

Forks

Languages