Advanced-React
Advanced-React copied to clipboard
Keystone 21
update finished example with @keystone-next@^21.0.0 changes
- use local images instead of Cloudinary
- use
postgresdatabase - fix seeding data
- add initial role for user
missing
- test cases not fixed or even tested
Hi, @gautamsi
Where do you host your Postgres DB? Did you create it locally? How do you do it?
Thanks for the PR, great
I had this locally
I had this locally
Hi,
When I start seeds with your code, I have this error :
Error: Unable to create a Product.photo<ProductImage>
Cause :
await context.sudo().lists.Product.createOne({ data: product }); :/
**EDIT : ** I forgot images: { upload: 'local' }, :)
a lot of stuff has changed if you upgrade even further, should see about updating this PR again to keystone 24
this can be helpful https://github.com/keystonejs/keystone/tree/master/examples-staging/ecommerce
anyone else having trouble uploading images (other than the seeded ones) after upgrading to 24?