Skip to content

Freelancer Profile Creation and Editing #5

@Cybermaxi7

Description

@Cybermaxi7

Overview

Enable freelancers to create, update, and fetch their profiles. This will enhance the user experience and improve visibility to recruiters. 📈

Background

  • Freelancers should have the ability to manage their profiles including essential fields such as name, bio, skills, experience, profile image, etc.
  • Profile management is restricted to authorized freelancer users only.

Specifications

  • Fields:
    • Name
    • Bio
    • Skills
    • Experience
    • Profile image (and others as needed)
  • Route Protection:
    • Only freelancers are permitted to update their profile.
  • Profile Fetching:
    • Users can fetch their own profile.

Tasks

  1. Create necessary DTOs and extend the user entity to incorporate profile fields.
  2. Implement the profile service logic within the auth module.
  3. Build and secure profile endpoints in the auth controller.
  4. Ensure updates and fetching of the profile are handled with proper route protection.

Impacted Files

  • src/auth/auth.service.ts
  • src/auth/auth.controller.ts
  • src/auth/dto/update-profile.dto.ts
  • src/auth/entities/user.entity.ts

Technical Considerations

  • Follow the existing patterns in the auth module as outlined in the README.
  • Ensure robust error handling and secure access to profile routes.

Contribution Guidelines

  • Assignment is required before PR submission.
  • Expected timeframe: 3–5 days.
  • PR description must include: Close #5 to auto-close the issue when merged.
    Follow the contribution guide for detailed instructions.

Acceptance Criteria

  • Freelancers are able to manage (create, update, and fetch) their profiles.
  • Profile update and fetching is strictly limited to authenticated freelancer users.
  • All changes follow the existing project coding standards and patterns.

Happy coding! 🚀

Metadata

Metadata

Assignees

Labels

NESTJSgood first issueGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions