DEV Community

Discussion on: Build an E-Commerce website with MERN Stack - Part 1 (Setting Up the Project)

Collapse
 
shubham1710 profile image
Kumar Shubham • Edited

I think your json file would have some trailing commas.
Sorry, I have put that comma in the config file because I will be adding more in that part like jwt swecret code and stripe api key.

Corrected it in this tutorial now.

You can look here for possible solutions:
stackoverflow.com/questions/549262...

Collapse
 
blancout profile image
Edimilson Blanes Coutinho

Reading the error more carefully, it is due to a key not yet specified: StripeAPIKey. I believe it will be defined in future articles.

Thanks Kumar!

Thread Thread
 
shubham1710 profile image
Kumar Shubham

Yes, the StripeAPIKey will be defined in the 4th tutorial when we will build the cart and orders API and handle payment via Stripe Checkout.
Thanks for reading! Hope you liked it!