Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added create job form and implemented s3 image upload functionality #321

Merged
merged 5 commits into from
Sep 10, 2024

Conversation

developingright
Copy link
Contributor

fix #316 fix #307

Issue.mp4
  • Changed Schema ( Added New Job fields )
  • Added Zod Validation for new form fields
  • Added fully functional create job form
  • implemented s3 upload and image preview in job form
  • Fixed job actions
  • Changed Seed file

@anuragnegi000
Copy link
Contributor

@VineeTagarwaL-code please consider #316 PR in this

Copy link
Collaborator

@VineeTagarwaL-code VineeTagarwaL-code left a comment

Choose a reason for hiding this comment

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

everything feels fine, please do the asked change then we will be good to go

import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';

const s3Client = new S3Client({
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is server component, why use NEXT_PUBLIC then ?

@VineeTagarwaL-code
Copy link
Collaborator

also fix the build, please make sure that you code builds properly

@developingright
Copy link
Contributor Author

@VineeTagarwaL-code I have made the required changes, please check.

@VineeTagarwaL-code VineeTagarwaL-code merged commit 5f7b36f into code100x:main Sep 10, 2024
1 check 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.

🚀 Feature: Post a job form ✨ Improvement: add company image upload via s3
3 participants