Skip to content

Conversation

@tanmayjoddar
Copy link
Contributor

  • Move ClerkProvider to root layout for proper app-wide authentication
  • Create .env.local with Clerk environment variables template
  • Fix sign-in page by removing duplicate ClerkProvider
  • Add sign-up page with proper Clerk components
  • Update package-lock.json with latest dependencies

This resolves the 'Missing publishableKey' error in both development and production environments.

- Move ClerkProvider to root layout for proper app-wide authentication
- Create .env.local with Clerk environment variables template
- Fix sign-in page by removing duplicate ClerkProvider
- Add sign-up page with proper Clerk components
- Update package-lock.json with latest dependencies

This resolves the 'Missing publishableKey' error in both development and production environments.
@vercel
Copy link

vercel bot commented May 25, 2025

@TJ456 is attempting to deploy a commit to the codingjunction's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented May 25, 2025

Deploy Preview for coding-junctionuit ready!

Name Link
🔨 Latest commit 5ee7de9
🔍 Latest deploy log https://app.netlify.com/projects/coding-junctionuit/deploys/6832ee150edb240008fa3f74
😎 Deploy Preview https://deploy-preview-6--coding-junctionuit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Aritra203
Copy link
Collaborator

This pull request integrates the Clerk authentication library into the application, refactors the sign-in page, and introduces a new sign-up page. Below are the most important changes grouped by theme:

Integration of Clerk authentication:

  • app/layout.tsx: Added ClerkProvider to wrap the application, enabling Clerk's authentication context globally. ([[1]](https://github.com/coding-junction/Coding_Junction2.0/pull/6/files#diff-eca96d2c09f31517696a26e1d0be4070e1fbab02831481bed006e275741d030bR3), [[2]](https://github.com/coding-junction/Coding_Junction2.0/pull/6/files#diff-eca96d2c09f31517696a26e1d0be4070e1fbab02831481bed006e275741d030bR27-R35))

Refactoring of the sign-in page:

  • app/sign-in/page.tsx: Removed the ClerkProvider wrapper (now handled globally in RootLayout), renamed the component to SignInPage, and cleaned up unused code. ([app/sign-in/page.tsxL2-R16](https://github.com/coding-junction/Coding_Junction2.0/pull/6/files#diff-f8c17ab59b605a324a8e0f93af18c0dfd012f1d18ddadb7335e9a1f852caa492L2-R16))

Addition of the sign-up page:

  • app/sign-up/page.tsx: Introduced a new SignUpPage component using Clerk's SignUp component for user registration, with conditional rendering for signed-in and signed-out states. ([app/sign-up/page.tsxR1-R18](https://github.com/coding-junction/Coding_Junction2.0/pull/6/files#diff-d086796fd009d64f6d786d4ec0a698f356cb2b4f7385a83c9135d9b40070955fR1-R18))

@coding-junction coding-junction merged commit b55e3f2 into coding-junction:main May 25, 2025
4 of 5 checks passed
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.

3 participants