https://github.com/justinsun7/autodiler
A simulation inspired by AutoDiler, the biggest car market in Montenegro.
https://github.com/justinsun7/autodiler
blade-template javascript laravel mysql php
Last synced: 3 months ago
JSON representation
A simulation inspired by AutoDiler, the biggest car market in Montenegro.
- Host: GitHub
- URL: https://github.com/justinsun7/autodiler
- Owner: justinsun7
- Created: 2024-08-23T18:53:26.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-08T18:05:39.000Z (9 months ago)
- Last Synced: 2024-10-09T12:40:59.766Z (9 months ago)
- Topics: blade-template, javascript, laravel, mysql, php
- Language: JavaScript
- Homepage: https://autodiler.me/
- Size: 7.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoDiler - Online Car Market Project | Laravel 9
![]()
>This project was an exercise modeled on the largest Montenegrin car market:
[AutoDiler](https://www.autodiler.me/)![]()
- I did both: frontend and backend



## Requirements
* PHP 8.0 and above
* Composer
* Since this project is running Laravel 9, I suggest checking out the official requirements## Installation
* Clone the repository by running the following command in your command line below (Or you can download the zip file from GitHub)
```shell
git clone https://github.com/dzonidevv/auto-diler.git
```
* Head to the projects directory
```shell
cd auto-diler-master
```
* Install/Update Composer dependencies
```shell
composer install
```* Copy .env.example file into .env file and configure based on your environment
```shell
cp .env.example .env
```
* Generate an encryption key
```shell
php artisan key:generate
```
* Migrate the database
```shell
php artisan migrate
```
* For development or testing purposes, you can use the Laravel built-in server by running
```shell
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` and `subscriber`## Features
* 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## 🚀 Tech used
* PHP v.8
* Laravel v.9
* MySQL
* HTML v.5 / CSS v.3 / Bootstrap v.5
* JavaScript