/laravel-crud-API

A CRUD API that handles the data of employees and their roles in a company.

Primary LanguagePHP

laravel-crud-API

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.

Tech/Framework Used

PHP (Laravel Framework) MySQL

Installation

  • 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

Usage

Kindly visit the Postman API Documentation to view the available endpoints