Welcome to serverless CodeIgniter

Demo

PlanetScale

MySQL Query

SELECT id, title, description, price, discountPercentage, rating, stock, brand, category, thumbnail FROM demo WHERE category='sunglasses'

HTML Response

id title description price discountP... rating stock brand category thumbnail
81 Round Silver Frame Sun Glasses A pair of sunglasses can protect your eyes from being… 7 10.10 4.94 78 Designer Sun Glasses sunglasses https://dummyjson.co…
82 Kabir Singh Square Sunglass Orignal Metal Kabir Singh design 2020 Sunglasses Men… 50 15.60 4.62 78 Designer Sun Glasses sunglasses https://dummyjson.co…
83 Wiley X Night Vision Yellow Glasses Wiley X Night Vision Yellow Glasses for Riders - Night… 30 6.33 4.97 115 mastar watch sunglasses https://dummyjson.co…
84 Square Sunglasses Fashion Oversized Square Sunglasses Retro Gradient… 28 13.89 4.64 64 mastar watch sunglasses https://dummyjson.co…
85 LouisWill Men Sunglasses LouisWill Men Sunglasses Polarized Sunglasses UV400… 50 11.27 4.98 92 LouisWill sunglasses https://dummyjson.co…
Total Results: 5

JSON Response

JSON Example

Vercel

ENV variables

VERCEL

1

VERCEL_ENV

production

VERCEL_URL

serverless-codeigniter-qfp895gi6-gapmiss.vercel.app

VERCEL_REGION

iad1

VERCEL_GIT_PROVIDER

github

VERCEL_GIT_REPO_SLUG

serverless-codeigniter

VERCEL_GIT_REPO_OWNER

gapmiss

VERCEL_GIT_REPO_ID

536668136

VERCEL_GIT_COMMIT_REF

main

VERCEL_GIT_COMMIT_SHA

7297edb49928451d68e67282304015415bd5bb09

VERCEL_GIT_COMMIT_MESSAGE

v2022.09.24

VERCEL_GIT_COMMIT_AUTHOR_NAME

gapmiss

$_SERVER variables

HTTP_X_VERCEL_IP_LATITUDE

39.0469

HTTP_X_VERCEL_IP_LONGITUDE

-77.4903

HTTP_X_VERCEL_IP_COUNTRY

US

HTTP_X_VERCEL_IP_COUNTRY_REGION

VA

HTTP_X_VERCEL_IP_CITY

Ashburn

HTTP_X_VERCEL_IP_TIMEZONE

America/New_York

HTTP_X_VERCEL_ID

iad1::ngtkm-1675053444609-dae65d0dabff

HTTP_X_VERCEL_DEPLOYMENT_URL

serverless-codeigniter-qfp895gi6-gapmiss.vercel.app

HTTP_X_VERCEL_PROXY_SIGNATURE

Bearer e098999ffc4910549a34665d3ee31ebde3e478e63c5f7de66b8069bc040ce73c

HTTP_X_VERCEL_PROXIED_FOR

3.222.251.91

CodeIgniter

Global Constants

ENVIRONMENT

production

APPPATH

/var/task/user/app/

ROOTPATH

/var/task/user/

SYSTEMPATH

/var/task/user/vendor/codeigniter4/framework/system/

FCPATH

/var/task/user/public/

WRITEPATH

/var/task/user/writable/

APP_NAMESPACE

App

CI_DEBUG

0