Skip to content

siddhantk232/rasoi

Repository files navigation

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

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published