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

Add Product Button Functionality: Add product button should save product JSON data to your local mongoDB database using nestJS. #224

Closed
Tracked by #72
tinpham5614 opened this issue Nov 30, 2023 · 0 comments · Fixed by #237
Assignees
Labels

Comments

@tinpham5614
Copy link
Contributor

tinpham5614 commented Nov 30, 2023

As a developer, I will want to add a product button that should save product JSON data to your local MongoDB database using NestJS.

First,
I will restructure the files to be able to understand and manage them. The file structure will be similar to the file structure in the backend as shown below:
image

Second,
I will modify the backend's data type in the create-product.dto.ts to match the enum type in the front end.
Let me know if this isn't the best solution for input/output.
image

The result will be like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant