Skip to content

Latest commit

 

History

History
107 lines (66 loc) · 2.91 KB

README.md

File metadata and controls

107 lines (66 loc) · 2.91 KB

Capstone.Tchotchke.GH2401

Overview

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

Site Display

App Screenshot

viewAll

selectByCategory

login

cart

Stripe

Links

Scrum Master Lineup

  • 3/21 - 3/31: Allison R.
  • 4/1 - 4/7: Katy B.
  • 4/8 - 4/14: Ali H.
  • 4/15 - 4/21: Kira L.

Installation

Prerequisites

Ensure you have the following installed:

  • Node.js
  • PostgreSQL

Steps

  1. Create the database:

    createdb tchotchke_db
  2. Install dependencies:

    cd client && npm install
     cd server && npm install
  3. Start the server in the root directory of the repository:

    cd server && npm run start:dev
  4. Start the Vite server in the client directory:

    cd client && npm run dev
  5. Test deployment:

    cd client && npm run build

    Browse to localhost:3000 (or the port you configured).

  6. Build script for deployment:

    npm install && cd client && npm run build
  7. Start script for deployment:

    node server/index.js

Environment Variables

Set the following environment variables for deployment:

  • JWT: Your JWT secret.
  • POSTGRES_PRISMA_URL: Your PostgreSQL database URL with username & password.

Built With