Applying Big Corp Practices to a Small React Shop Project

Hey folks,

I recently built a small online shop using React and Redux for fun, and I’ve integrated sqlite through Pocketbase to store the shop’s data.

Here’s a quick rundown:

  • Users can create accounts.
  • They can add products to a cart, and the cart info gets saved to their account (which is cool for shop owners to see what’s in their carts and maybe even send reminder emails).
  • There’s a checkout page with an order summary and a form to add billing info. (I got a bit lazy here—no online payment logic yet.)
  • After checkout, users can view their billing info and order history from their account.

I mainly did this project to practice structuring a project well, understanding Redux flow, handling form errors, and making a user-friendly interface.

I also tried to apply coding practices I’ve seen in larger companies, just scaled down for this smaller project. Curious to hear your thoughts!

5 Likes

That’s a solid project! Sometimes it’s tricky to scale down big corp practices without overengineering. How did you find the balance? Were there any practices that didn’t make sense at this scale?

3 Likes

Nice work! Curious—why did you choose Pocketbase for this? I haven’t used it much myself, but I hear it’s lightweight and fast for smaller projects. Would you recommend it over Firebase or Supabase?

3 Likes

Love the project! Any plans to add payment functionality down the line? It’d be cool to see how you integrate Stripe or another payment processor into this setup.

1 Like

Nice project! Do you think Redux was necessary here? I’ve seen smaller projects get by with just React Context for state management, especially when it’s a simple cart system. Was Redux overkill?

Awesome practice project! Just a quick note—when building online shops, good SEO is key, and for that, you’ll typically want server-side rendering (SSR) to improve search engine visibility. But overall, this is a solid project—keep it up!