A laravel application that mainly handles API request to send a JSON list of plants and to receive requests to add new plant records.
The application is running on Laravel 8 and have a prerequisite of the following.
- PHP >= 7.3
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Clone the repo
- Create a .env using .env.example contents
- Create a new database for the application
- Update the newly created .env file with your database credentials
- On your CLI run the command
$ composer update
- After that, execute the command
$ php artisan migrate:refresh --seed