Skip to content

Updated UI, Integrated api#59

Open
arvind-rana wants to merge 6 commits into
devfrom
integration
Open

Updated UI, Integrated api#59
arvind-rana wants to merge 6 commits into
devfrom
integration

Conversation

@arvind-rana

@arvind-rana arvind-rana commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Frontend Changes

Landing Page

  • Added a project description section to the landing page for better product clarity and onboarding experience.

Performance Optimizations

  • Implemented virtualization on:

    • Leaderboard page
    • Question list page

    This significantly improves rendering performance and overall responsiveness when handling a large number of users or records.

Lazy Loading Enhancements

  • Added lazy loading for:

    • Mentor login card
    • Mentee login card
    • Mentee signup card

    This reduces the initial JavaScript bundle size and improves login page load performance by loading components only after role selection.


Backend Changes

CORS & Middleware Updates

Updated main.go with the following improvements:

  • Updated middleware imports to resolve existing CORS-related issues.
  • Added CorsConfig configuration for proper resource sharing handling.
  • Implemented CorsMiddleware function for centralized and consistent CORS management across the application.

@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coderz-space Ready Ready Preview, Comment Jun 14, 2026 5:04am

@Gautam7352 Gautam7352 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • check comments
  • give me exact steps to follow to verify if things work or not

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To verify locally:

Web:

  1. cd apps/web
  2. npm install
  3. npm test
  4. npm run dev
  5. Open http://localhost:3000 and confirm the web app loads without errors.

Server:

  1. cd apps/server
  2. go mod tidy
  3. go test ./...
  4. docker compose up -d postgres
  5. make migrate-up
  6. go run cmd/main.go
  7. Open http://localhost:8080/swagger/index.html and confirm the API docs load.

I also removed the generated Jest cache files from the PR and added .jest-cache to apps/web/.gitignore.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files were generated automatically by Jest when tests were run locally. They are cache files used to speed up future test runs, such as transformed TS/TSX files, source maps, haste-map cache, and perf cache.

They are not source code and are not needed in the repository because Jest can regenerate them anytime. I removed them from the PR and added .jest-cache to .gitignore so they won’t be committed again.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why binary file in commit?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this file for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants