nexlabsweb3 / scanguard

https://scanguard.vercel.app
4 stars 23 forks source link

Implement manufacturer registration logic #38

Open zintarh opened 2 days ago

zintarh commented 2 days ago

Implement the business logic for manufacturer registration in the existing module. Integrate Prisma ORM, handle validation, and ensure proper error handling.

Tasks:

  1. Service implementation:

    • Save manufacturers using Prisma.
    • Handle errors.
  2. Controller implementation:

    • Implement POST /manufacturer/register.
    • Validate input using CreateManufacturerDto.
BrunoAmbricca commented 1 day ago

I would like to work on this issue

Benjtalkshow commented 1 day ago

Mind if I try this one?

josephchimebuka commented 1 day ago

Hello I am Joseph I am a frontend developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. this is a couple of frontend and blockchain projects i have built https://metacrypt.vercel.app/ https://mattedsgn.com/ May I try this one?

Gerson2102 commented 1 day ago

Hey! I'm Gerson. 👋

Member of Dojo Coding. I have contributed before to other projects like:

Can I work on this issue?

Check my OnlyDust profile, I've contributed to many projects: Profile


Plan to Solve the Issue:

  1. Study the codebase to understand the current structure and functionality.
  2. Understand the problem that needs to be solved by thoroughly reading the issue details.
  3. Leverage all provided resources within the issue to get a better grasp of the task at hand.
  4. If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
  5. I will open a PR and wait for ur feedback

ooochoche commented 1 day ago

I can work on creating manufacturer account

ShantelPeters commented 1 day ago

Can I attempt this issue?

MullerTheScientist commented 1 day ago

would love to address this issue

DanielEmmanuel1 commented 1 day ago

How I Plan To Solve This Issue

I’ll start by creating a rough paper sketch of how the overall UI of the form should be, creating input fields to collect data like company name, manufacturer name & means of company identification (e.g., an upload option or dropdown for document type).

After creating a rough sketch, my next step will be to start the coding process, upon going through your repo’s frontend i am aware that it is built using Next.js framework which am well conversant with, I will create a ManufacturerForm.tsx and build up the form structure and ensure all inputs are properly validated, checking for things like empty fields, correct formats, and file types.

Finally, once the form is ready and validated on the frontend, I’ll set up a POST request to send the data to an API endpoint, (I’m guessing that has been created prior to this task) where it will be processed and saved to the backend. I’ll ensure the data is sent securely and handle any responses or errors appropriately.

ETA: 48 hours.

Michaelkingsdev commented 1 day ago

I’d love to work on this task.

Amarjeet325 commented 1 day ago

Can I try solving this issue?