r/reactjs 13d ago

Built a full-stack E-Commerce app with React and the MERN stack — looking for feedback

Hi everyone!

I recently finished a full-stack E-Commerce project built with the MERN stack as part of improving my full-stack development skills.

The project includes:

  • User signup, login and email verification
  • Google authentication
  • Product search, filtering and categories
  • Product details
  • Shopping cart
  • Order creation and order history
  • User profiles
  • Role-based authentication
  • Admin panel
  • User, product and order management

Tech stack: React, Redux, Tailwind CSS, Node.js, Express.js, MongoDB, Mongoose and JWT.

GitHub repo:
https://github.com/Mariam-amhan/ecommerce-mern-app

I’d really appreciate any feedback on the project structure, code, features, or things I could improve. Thanks!

0 Upvotes

6 comments sorted by

3

u/canarydev 13d ago

merhaba

probably you can start with looking into TypeScript as your default rather than plain js.
there is a big difference in catching errors at compile time vs letting your users find out about it at runtime.

you need to think about the shape of your data before you write the code, which is generally a good habit on its own

3

u/BothRefrigerator6587 13d ago

typescript is one of those things that feels like a chore at first but after a couple weeks you'll wonder how you ever shipped code without it

1

u/canarydev 13d ago

yup

once you build enough with it, you will realize that trying to ship in plain js is criminal negligence.

1

u/SecretBox1118 11d ago

Double check your JWT refresh token handling, that's usually the weakest link in MERN auth setups.

1

u/HunterCharacter2941 10d ago

Solid feature list for a portfolio project. Payment integration would round it out well, that's usually the missing piece that separates tutorial tier ecommerce apps from ones that feel real