A demo react storefront.
Store content pulled from Witchsy. Go buy something from them and support women run businesses!
Front End
Back End
- clone the repo
npm i
in both the front end and back end folders- Back End:
-
sign up for prisma and install prisma globally
npm i -g prisma
-
add this
variables.env
file to the backend directoryFRONTEND_URL = "http://localhost:7777"; PRISMA_ENDPOINT = "getThisFromPrismaSetup"; PRISMA_SECRET = "youShouldMakeUpYourOwnSecret"; APP_SECRET = "jwtsecret123"; STRIPE_SECRET = "youChangeThisSrsly"; PORT = 4444;