Leasing & rent website to showcase the dealer's car listings
Developed in Laravel with Docker for easy use & implementation.
🛠️ Environment | Docker |
💻 Backend | PHP 8 (with OPcache & JIT compiler) - Laravel |
🌐 Frontend | Blade - Bootstrap - SASS - JavaScript ES6 |
🛢 Database | MySQL 8 |
🗄️ Server | Nginx 1.21 |
To get started, make sure you have Docker installed on your system, and then clone this repository.
- Update hosts - add
127.0.0.1 metzcars.local
- Add
.docker/certs/metzcars.crt
certificate to trust store - Copy .env file
cp .env.example .env
and setup env variables - Run
docker-compose -f docker-compose.local.yml up -d
- Install dependencies & build assets:
- ./bin composer install
- ./bin yarn dev
- ./bin php artisan migrate
That's it! The website is up and running: https://metzcars.local
In the root of the project directory you can run multiple scripts to ease development:
- ./bin : Used to run commands inside the app docker container
- ./cache : Clear all laravel cache configs
- Pull code from main git repo
- If necessary:
- Run migrations (in project root) : ./bin php artisan migrate
- Install new dependencies (in project root) : ./bin composer install
- Build frontend assets (in project root) : ./bin yarn production
- Restart/rebuild docker images/containers
- Each feature/task/issue is developed on a separate branch
- SOLID
- Mobile first design
- BEM methodology for CSS
- Translations ordered alphabetically for ease of use