Full-stack React/Prisma/TS/GraphQL E-Commerce Example
Archived: This is using Prisma 1 which has been discontinued.
Attempt to create a great reference project with an amazing developer experience wherein a lot of common React/Prisma/GraphQL challenges are addressed.
*.js in .gitignore!)/api - GraphQL API Gateway in front of Prisma/web - Next.js React App with Apollo Client/e2e - Nightwatch.js E2E testing/web featuresOrder) before page load, reference id saved to cookiesfirst")brew cask install dockernpm install -g yarnyarn install//api/web/e2eyarn setup:prismayarn devStarts the /api Gateway, the Next.js /web, and a TypeScript watcher for /e2e in parallell.
If you prefer separate output, navigate to /api, etc in separate shells and run yarn dev
If everything goes smoothly you should be able to access the below:
Uses Jest.
yarn test:api/web has no tests (yet).
brew install selenium-server-standalone
brew install chromedriver
brew install geckodriver
brew cask install javayarn seleniumyarn setup && yarn build && yarn devyarn start:e2eyarn start:e2e -- --env chrome:nojs/web/mutations and /queries exposes render prop components for easy handling of data loading / renderingThis is a bit of a playground for web tech for me. I'm still developing it & I gather a list of things I'd like to do in issues.
If you have problems running it, ideas of things to add, things you want me to explain / elaborate on, or need help to build a product - open an issue or reach out to me on Twitter.
Feel free to fork it and make a pull request of something cool!
/ )
/ )__/ )___/ /
( @ . @ ) )
( )
//"//""//"//
KATTCORP LTD.by kattcorp.com
No open issues yet, or sync has not completed.