Rasoi - An eCommerce store

siddhantk232

Siddhant Kumar

Posted on January 3, 2022

Rasoi - An eCommerce store

A small online store built using nextjs, mongodb, and stripe. The home page is a generated product listing that is rebuilt every time there is a change in products collection.

link to demo

Submission Category:

E-commerce creation

Link to Code

Rasoi

A small headless online store built using nextjs, mongodb, and stripe. The home page is a generated product listing that is rebuilt every time there is a change in products collection.

Uses

DB

  • products collection

    {
      _id,
      name,
      description,
      images,
      price,
    }
    
    • creating a products triggers nextjs build SSG
    • view products
    • order them
    • (optional) cart feature
    • (optional) cart checkout
  • orders collection

    {
      _id,
      sessionId,
      email,
      amount,
      items
    }
    
    • creating an order triggers an email notification
    • stripe checkout on client



Additional Resources / Info

💖 💪 🙅 🚩
siddhantk232
Siddhant Kumar

Posted on January 3, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Rasoi - An eCommerce store
atlashackathon Rasoi - An eCommerce store

January 3, 2022