Skip to content

feat: Literary Profiles - #43

Open
adityack477 wants to merge 3 commits into
Areeb-coder:feat/literary-profilesfrom
adityack477:feat/literary-profiles
Open

adityack477 wants to merge 3 commits into
Areeb-coder:feat/literary-profilesfrom
adityack477:feat/literary-profiles

Conversation

@adityack477

Copy link
Copy Markdown

Closes #31

What this PR does

  • Adds tagline and social_links fields to UserSchema
  • Extends Zod validation in users.routes.ts for new fields
  • Exposes new fields in usersService.getProfile and updateProfile
  • Updates profile/page.tsx — edit mode now supports tagline, display name, genres, and social links
  • Adds new public profile/[id]/page.tsx — accessible without login

Files changed

  • server/src/models/index.ts
  • server/src/routes/users.routes.ts
  • server/src/services/users.service.ts
  • web/src/app/profile/page.tsx
  • web/src/app/profile/[id]/page.tsx (new)

How I verified

  • npx tsc --noEmit passes with zero errors on both server and web
  • Confirmed all new fields (tagline, social_links) flow correctly from model → route validation → service → frontend
  • Public profile page at /profile/[id] uses the existing public route GET /users/:id/profile which requires no auth
  • Database connection is unavailable in local env but all type checks pass clean

pragya0129 and others added 3 commits May 19, 2026 13:12
Add responsive mobile hamburger navigation menu to authenticated dashboard and inner pages. Ensures nav consistency across the app post-login.
@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

@adityack477 is attempting to deploy a commit to the areeb-coder's projects Team on Vercel.

A member of the Team first needs to authorize it.

@adityack477

adityack477 commented May 21, 2026 •

Copy link
Copy Markdown
Author

@Areeb-coder please review and add the gssoc:approved label

This branch has not been deployed

No deployments
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