Best laravel framework open-source packages.

ItseedsChallenge

Challenge proposed by It Seeds. With this test, they invited me to work with them in Portugal.
Updated 1 year ago

ItSeeds Challenge

Developer: Charles Annibal - Rio de Janeiro - Brazil

Laravel version: 5.5

Instructions


You need set the database configs in .env file

You need execute the command "composer update" to load the dependencies of project.

Execute with the Laravel development server

To execute the project with a Laravel development server you need go to the project folder and execute the command "php artisan serve". But the url will be like 127.0.0.1:8000

Execute in a shared host or http server like apache or a WAMP

To execute the project in a shared host or in a http local server you need put the project folder one level under htdocs folder and copy content from itseedsChallenge/public folder and paste into htdocs folder.

Is necessary change the file index.php onto htdocs folder:


Set "require __DIR__.'/../vendor/autoload.php';" to "require __DIR__.'/../itseeds/vendor/autoload.php';"


and "require __DIR__.'/../vendor/bootstrap/app.php';" to "require __DIR__.'/../itseeds/bootstrap/app.php';"

Migrations and seeds

To run the migrations execute the command php artisan migrate

To run the seeds execute the command php artisan db:seed --class=ProductTableSeeder

Access the API

To access the product API you need an app like postman https://www.getpostman.com/

Set the url to 127.0.0.1/api/product to access the API created with Laravel

You cannot access the url by browser

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.