Highly inspired from mix phx gen auth generator
I am thinking to create one for a basic store.
That adds cart functionality, A basic category and product.
Nice if it had a few seeded data.
Complex things I will add myself - like bulk csv upload, etc.
so One needs to just run
mix phx.gen.store and voila e-commerce is ready!
Don’t let me stop you, but I think e-commerce is too complex for a generator. Authentication is already an established pattern and it makes sense to provide it as a generator. But is there really a best-practice pattern for an online shop?
I would prefer a good example e-commerce project which I can study and take just the parts that fit my needs.