This project was an exercise modeled on the largest Montenegrin car market: AutoDiler
- I did both: frontend and backend
- PHP 8.0 and above
- Composer
- Since this project is running Laravel 9, I suggest checking out the official requirements
- Clone the repository by running the following command in your command line below (Or you can download the zip file from GitHub)
git clone https://github.com/dzonidevv/auto-diler.git
- Head to the projects directory
cd auto-diler-master
- Install/Update Composer dependencies
composer install
- Copy .env.example file into .env file and configure based on your environment
cp .env.example .env
- Generate an encryption key
php artisan key:generate
- Migrate the database
php artisan migrate
- For development or testing purposes, you can use the Laravel built-in server by running
php artisan serve
After running the above commands, you should be able to access the application at http::/localhost or your designated domain name depending on the configuration.
- There are two roles:
administrator
andsubscriber
- One user can have only 3 advertisements active
- Added Factories for cars using pelmered/fake-car
- Used Laravel Sluggable for SEO
- Added CSRF protection
- Added Middleware protection for unregistered users
- Added session messages
- Added default values for fuel type, state type, drive type and many more
- Used SweetAlert2
- Used Chart.js
- Added pagination on homepage
- Administrator has CMS ( Management System ) with the ability to view, edit and delete everyone's advertisement
- Forms Validation
- PHP v.8
- Laravel v.9
- MySQL
- HTML v.5 / CSS v.3 / Bootstrap v.5
- JavaScript