Let's build a fully functional e-commerce site on MERN stack!! You will be building a replica of one of your favourite e-commerce website.
Wiki says
E-commerce is the activity of buying or selling online. Electronic commerce draws on technologies such as mobile commerce, electronic funds transfer, supply chain management, Internet marketing, online transaction processing, electronic data interchange (EDI), inventory management systems, and automated data collection systems.
GET
/product
- get all productGET
/product/:Id
- get one product with id
GET
/auth/google
- google authenticateGET
/auth/google/callback
- google authenticate callback
POST
/register
- user can registerPOST
/login
- user can loginGET
/product
- get all productGET
/product/:Id
- get single product with id
GET
/
- after loginPOST
/product
- new product add -PUT
/product/:Id
- update product with idDELETE
/product/:Id
- delete product with idGET
/product
- get all productGET
/product/:Id
- get one product with id
GET
/cart
- get all cart dataPOST
/cart
- new new cart dataPOST
/cart-delete-item
- remove from cart