Skip to content

Implement slug-based routing#1

Draft
Mohammed-Alazaar wants to merge 1 commit intodeplymentfrom
codex/add-slug-support-to-products-and-models
Draft

Implement slug-based routing#1
Mohammed-Alazaar wants to merge 1 commit intodeplymentfrom
codex/add-slug-support-to-products-and-models

Conversation

@Mohammed-Alazaar
Copy link
Owner

Summary

  • add unique slug fields to product and model schemas
  • generate slugs in admin controller when creating or editing products/models
  • update shop routes and controllers to use slugs
  • rewrite navbar navigation and canonical links to reference slugs

Testing

  • npm test (fails: Missing script)

https://chatgpt.com/codex/tasks/task_e_683fea47a1e0832e8bd04ceaac0eb59f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant