lqt93 / mock-api-sample

A sample for using APIs from mockapi.io

Home Page:mock-api-sample-latest.lqt93.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A sample for using APIs from mockapi.io

mock-api-sample-latest.lqt93.vercel.app


Languages

Language:JavaScript 97.6%Language:CSS 2.4%