├── .env.example ├── .gitignore ├── README.md ├── api.sql ├── app ├── Console │ ├── Commands │ │ └── .gitkeep │ └── Kernel.php ├── Events │ ├── Event.php │ └── ExampleEvent.php ├── Exceptions │ ├── CustomValidationException.php │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── CarsController.php │ │ └── Controller.php │ └── Middleware │ │ ├── Authenticate.php │ │ └── ExampleMiddleware.php ├── Jobs │ ├── ExampleJob.php │ └── Job.php ├── Listeners │ └── ExampleListener.php ├── Models │ ├── Cars.php │ └── ValidationCar.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ └── EventServiceProvider.php ├── Repositories │ ├── CarRepositoryEloquent.php │ └── CarRepositoryInterface.php ├── Services │ └── CarService.php └── User.php ├── artisan ├── bootstrap └── app.php ├── composer.json ├── composer.lock ├── database ├── factories │ └── ModelFactory.php ├── migrations │ └── .gitkeep └── seeds │ └── DatabaseSeeder.php ├── phpunit.xml ├── public ├── .htaccess └── index.php ├── readme.md ├── resources └── views │ └── .gitkeep ├── routes └── web.php ├── storage ├── app │ └── .gitignore ├── framework │ ├── cache │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore └── tests ├── ExampleTest.php └── TestCase.php /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # apicars 2 | -------------------------------------------------------------------------------- /api.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/api.sql -------------------------------------------------------------------------------- /app/Console/Commands/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Console/Kernel.php -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Events/Event.php -------------------------------------------------------------------------------- /app/Events/ExampleEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Events/ExampleEvent.php -------------------------------------------------------------------------------- /app/Exceptions/CustomValidationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Exceptions/CustomValidationException.php -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Exceptions/Handler.php -------------------------------------------------------------------------------- /app/Http/Controllers/CarsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Http/Controllers/CarsController.php -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /app/Http/Middleware/ExampleMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Http/Middleware/ExampleMiddleware.php -------------------------------------------------------------------------------- /app/Jobs/ExampleJob.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Jobs/ExampleJob.php -------------------------------------------------------------------------------- /app/Jobs/Job.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Jobs/Job.php -------------------------------------------------------------------------------- /app/Listeners/ExampleListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Listeners/ExampleListener.php -------------------------------------------------------------------------------- /app/Models/Cars.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Models/Cars.php -------------------------------------------------------------------------------- /app/Models/ValidationCar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Models/ValidationCar.php -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Providers/AppServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Providers/AuthServiceProvider.php -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Providers/EventServiceProvider.php -------------------------------------------------------------------------------- /app/Repositories/CarRepositoryEloquent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Repositories/CarRepositoryEloquent.php -------------------------------------------------------------------------------- /app/Repositories/CarRepositoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Repositories/CarRepositoryInterface.php -------------------------------------------------------------------------------- /app/Services/CarService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/Services/CarService.php -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/app/User.php -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/artisan -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/bootstrap/app.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/composer.lock -------------------------------------------------------------------------------- /database/factories/ModelFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/database/factories/ModelFactory.php -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/database/seeds/DatabaseSeeder.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/public/index.php -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/readme.md -------------------------------------------------------------------------------- /resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/routes/web.php -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/tests/ExampleTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adrianoluisalmeida/apicars/HEAD/tests/TestCase.php --------------------------------------------------------------------------------