mock-api-sample
A sample for using APIs from mockapi.io
Example: https://mock-api-sample-latest.vercel.app
Before starting
Install all dependencies:
npm i
Create ".env.local" file in root directory with content below:
NEXT_PUBLIC_API_URL=url_that_you_use
For development:
npm run dev
For building and starting production:
npm run build
npm run start