Merged
Conversation
…hema - Added MSW (Mock Service Worker) setup for intercepting API requests in development. - Created handlers for user login, potential matches, and swipe actions with fake data generation using @faker-js/faker. - Defined TypeScript types for user profiles, music profiles, and swipe responses in api-schema.ts. - Updated package.json to include necessary dependencies for MSW and faker. - Added MswProvider component to initialize MSW in development mode. - Configured PostCSS and ensured proper formatting in postcss.config.mjs.
…ck service worker
zakkiyyat
requested changes
Aug 23, 2025
Contributor
zakkiyyat
left a comment
There was a problem hiding this comment.
please rectify the eslint error.
…irection handling
Contributor
Author
|
all done, please review |
zakkiyyat
approved these changes
Aug 23, 2025
Contributor
zakkiyyat
left a comment
There was a problem hiding this comment.
Looks good, thanks for contributing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This completes API schema using OpenAPI 3.0 and integrates Mock Service Worker (MSW) into the Next.js app. With realistic mock handlers for all endpoints, the frontend can now run the full user journey (auth, profiles, swipes, matches, and chat) entirely against the mock server, enabling smooth parallel development without needing a live backend.
closes #9