- 🐳 Docker (required to avoid system configuration conflicts)
- 🛠️ DDev (required)
- 🌿 Git CLI
git clone https://github.com/xerxes-on/bookrating.git
cd bookratingThe project uses a Docker network called bookrating which includes:
- 🗄️ PostgreSQL database
- 🌐 Nginx
- 🐘 PHP
- ⚡ Redis
- 📧 Mailhook
- 🔄 Queue worker
Run the following command to build and start all containers:
ddev startNote: Build time may vary depending on your internet connection and system resources.
Run the following commands to set up the database and application key:
ddev php artisan migrate
ddev php artisan key:generateVisit https://bookrating.ddev.site in your browser to see the running application.
To process email jobs in the queue:
ddev php artisan queue:work --queue=email- Register a new user through the browser interface
- Run the database seeder to create a super admin:
ddev php artisan db:seed- Access the admin panel at http://bookrating.ddev.site/admin
- 👤 The registered user will be granted super admin privileges after running the seeder
- 🔍 You can explore the admin panel and sample data that was generated
- 🎨 Figma designs are available for reference (link to be added)
The project runs within a Docker network containing:
- 🗄️ PostgreSQL database
- 🌐 Nginx web server
- 🐘 PHP runtime
- ⚡ Redis cache
- 📧 Mailhook service
- 🔄 Queue worker for background tasks