Welcome to skateshop Discussions! #22
Replies: 8 comments 8 replies
-
Hi, I'm a explorer, learner and moderator . Building a brain for robots (might be rewarding in future) . I was asking if you have a video tutorial for this project? Or any youtube channel where you will be uploading this...? Please I am unable to understand the flow. |
Beta Was this translation helpful? Give feedback.
-
Hi there! First of all, loving the repo! I am getting the 'no foreign key allowed error' when adding a foreign key, there are some discussions here. These lines of code e.g. export const storesRelations = relations(stores, ({ many }) => ({
products: many(products),
})) That's just for the db client to get type-safety, am I right? I am wondering how you generated the MySQL migration files, because with the drizzle-ORM kit I keep getting 'foreign key relations' in those files which throw the above error. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey there, I was curious why do you check dynamically the types (I can see you do this in your server actions functions)? Doesn't typescript ensure the types for us? for example: |
Beta Was this translation helpful? Give feedback.
-
Hi there. Since the project appears similar to what I'm currently working on, would you like me to implement a carousel on the product info page instead of just making progress on my project? Right now, it only supports the first image in an array. If you're fine with it, I'll open a pull request for this. The lib for carousel that I used called "Embla-Carousel" References: |
Beta Was this translation helpful? Give feedback.
-
hey, first of all thank you for an amazing repo and for building an amazing build. im getting an error when i run pnpm run build while tyring to deploy to server. `./src/components/shells/products-table-shell.tsx info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
i was wondering if you would be able to point me in the right direction ? |
Beta Was this translation helpful? Give feedback.
-
Hello, @sadmann7, great job you're doing here! I have a question regarding the server-side-generic-datatable you posted on twitter. Is the component ready? If it's not, anyway I can help you? Thank you very much |
Beta Was this translation helpful? Give feedback.
-
Hey @sadmann7
|
Beta Was this translation helpful? Give feedback.
-
Dear @sadmann7 Bravo, Clap Clap and Thank You for sharing this project. I was thinking it would be awsome to be able to see the Name, Image and Rating of the Store inside the product Card. Maybe adding more relations between the product and the store, and store with user. All the best. I have been learning a lot thanks to this project! |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions