DEV Community

Siddhant Kumar
Siddhant Kumar

Posted on

4 2

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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay