2023-06-29
2911
#nextjs
Rahul Padalkar
173111
111
Jun 29, 2023 â‹… 10 min read

Building a shopping cart app with Vercel Stack

Rahul Padalkar Software engineer and indie hacker sharing my learnings skilled in web technologies. Find me @rahulnpadalkar.

Recent posts:

tanstack table react table

A complete guide to TanStack Table (formerly React Table)

Discover how to use TanStack Table, formerly known as React Table, to build a table UI for a variety of use cases.

Paramanantham Harrison
Mar 28, 2025 â‹… 14 min read
javascript object prototypes

JavaScript prototypes: How objects inherit properties and methods

Explore what prototypes are, how the prototype chain works, and how to use the prototype chain to create inheritance between objects.

Ibadehin Mojeed
Mar 28, 2025 â‹… 7 min read
set up Node.js with TypeScript and Express

How to set up TypeScript with Node.js and Express

Set up TypeScript with Node.js and Express, focusing on configuring key elements for a smooth development experience.

Aman Mittal
Mar 28, 2025 â‹… 9 min read
featured image tsx extension

What is the difference between a .ts and .tsx file extension?

Examine the differences between the .ts and .tsx file types, their use cases, and best practices for a React TypeScript project.

Hussain Arif
Mar 27, 2025 â‹… 8 min read
View all posts

One Reply to "Building a shopping cart app with Vercel Stack"

  1. When I try to create this table, I see this: Syntax error: there is no unique constraint matching given keys for referenced table “products”.

    CREATE TABLE cart_items(
    cart_item_id SERIAL,
    product_id INT REFERENCES products(id),
    user_id INT REFERENCES users(id),
    PRIMARY KEY(product_id, user_id)
    );

Leave a Reply