Skip to content

chriswillsflannery/shoppingcart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

shopping-cart

Application with React/Vite, TypeScript, Node.js, tRPC, Fastify, Zod, Prisma, SQLite

Sys design document / scratch notes

Getting Started

Notes:

  • I am currently using Node v20.13.1 locally. YMMV with dependencies installation if your node version differs.
  • I decided to forego rolling this project into a docker container - trying to update docker version on my old macbook almost made it take off into orbit

Install dependencies

cd into serv directory
npm i

Database seed

you should currently be in 'serv' directory. execute:
npx prisma db seed

Watch TS changes & gen JS bundle

in 'serv' directory execute:
npm run watch

Run tRPC server

in 'serv' directory execute:
npm run dev

Run client app

cd into client and execute:
npm i
npm run dev

Application is now running and accessible to the web user at localhost:5173.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published