Skip to content

andhikayuana/jokes-bapack2-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jokes-bapack2-api

Kumpulan Jokes Bapack2 masa kini!

Jokes Bapack2

Requirements

  • PHP
  • Composer
  • Vercel

How to Run

  • clone this repository
  • cd to root project directory
  • execute composer install
  • Run the server using php -S localhost:8000 -t public
  • then you can see like below after you have request to http://localhost:8000/
{
    "name": "Jokes Bapack2 API",
    "version": "1.0.0",
    "author": {
        "name": "andhikayuana",
        "email": "[email protected]"
    },
    "endpoints": {
        "/v1/text": "get all text jokes",
        "/v1/text/random": "get text jokes randomly"
    }
}

Donation

ko-fi