A CRUD API that handles the data of employees in a company and their roles in a company. User data can be retrieved using various endpoints.
PHP (Laravel Framework) MySQL
-
Clone this repo
https://github.com/nancyordor/laravel-crud-API.git
-
Change directory to the project
cd crud-api
-
Install dependencies
composer install
-
Duplicate .env.example
cp .env.example .env
-
Modify the database credentials in the .env file to suit what you have locally
-
Run migrations
php artisan migrate
-
Run the server using
php artisan serve
Kindly visit the Postman API Documentation to view the available endpoints