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 admin interface for managing products #2

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

patilanuja
Copy link
Contributor

Summary

This PR implements the admin interface for managing products, including:

  • Add/Edit/Delete functionality for products.
  • Products are stored in products.json.
  • Basic validation for product fields.

What’s Pending

  • The frontend products and cart pages still fetch data from configLoader.js instead of the admin API.
  • Dynamic product fetching.

Testing

  • Verified the admin interface works as expected (adding/editing/deleting products updates products.json).

Copy link
Contributor

@gregv gregv left a comment

Choose a reason for hiding this comment

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

@gregv gregv merged commit 56ec65c into opportunity-hack:main Dec 23, 2024
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.

None yet

2 participants