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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more