A tchotchke (/ˈtʃɒtʃkə/ CHOTCH-kə, /ˈtʃɒtʃkiː/ CHOTCH-kee)is a small bric-à-brac or miscellaneous item. The word has long been used by Jewish-Americans and in the regional speech of New York City and elsewhere. It is borrowed from Yiddish and is ultimately Slavic in origin.
We've built a fullstack e-commerce application selling tchotchke using the modern PERN stack (React, Node.js, Express, and PostgreSQL)
View Project Presentation with Functionality Video
- 3/21 - 3/31: Allison R.
- 4/1 - 4/7: Katy B.
- 4/8 - 4/14: Ali H.
- 4/15 - 4/21: Kira L.
Ensure you have the following installed:
- Node.js
- PostgreSQL
-
Create the database:
createdb tchotchke_db
-
Install dependencies:
cd client && npm install
cd server && npm install
-
Start the server in the root directory of the repository:
cd server && npm run start:dev
-
Start the Vite server in the client directory:
cd client && npm run dev
-
Test deployment:
cd client && npm run build
Browse to
localhost:3000
(or the port you configured). -
Build script for deployment:
npm install && cd client && npm run build
-
Start script for deployment:
node server/index.js
Set the following environment variables for deployment:
JWT
: Your JWT secret.POSTGRES_PRISMA_URL
: Your PostgreSQL database URL with username & password.