This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
- Mock Service Worker
- Setup is done by following the following instructions:
- The relevant code goes under
mocks
andpublic/mockServiceWorker.js
.- See
mocks/handlers.js
about the mocked endpoints.
- See
- Enable/Disable
- Mocking is enabled using the
NEXT_PUBLIC_API_MOCKING
environment variable.
- Mocking is enabled using the