This is a Next.js project bootstrapped with create-next-app.
First, install dependencies
yarnThen, run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
/api/surah/<surahNumber?alt=1
| Properties | Description | Value | Remarks |
|---|---|---|---|
surahNumber |
Surah Number in Al-Quran. Eg 1 for Al-Fatihah, etc. |
1-114 | Required |
alt |
Predefined design options | 1-5 | Optional. Default to 0 |
Test the API on https://baca-opengraph.vercel.app/