Thanks to visit codestin.com
Credit goes to github.com

Skip to content

erwinrachim/checklist-endpoints

Repository files navigation

Test Checklists REST API

how to install

  • clone this repo
    git clone https://github.com/erwinrachim/checklist-endpoints.git
    cd checklist-endpoints
  • create .env with copy .env.example to .env
  • create database checklist
  • setting your .env
    DB_DATABASE=checklist
    DB_USERNAME={your_db_user}
    DB_PASSWORD={your_db_password}
    
  • run composer for install library
    composer install
  • database migrate and seed
    php artisan migrate --seed
  • run app
    php -S localhost:8000 -t public

how to access endpoint

  • you can use postman or something else
  • example endpoint
    http://localhost:8000/checklists/templates

how to testing

  • create database checklist_tests
  • run tests
    vendor/bin/phpunit

About

Simple Rest API Use Lumen Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages