Online store with React and GraphQL, follow this link to see. Sign in with email: '[email protected]' password: 'user' to access account permissions and order history. Currently hosted on a free Heroku dyno which sleeps after 30mins, please be patient on initial load.
-
React
- Next.js for server-side rendering, routing, and tooling
- Using Styled Components for consistency and to avoid potential collisions
- React-Apollo for interfacing with Apollo Client
-
Apollo Client
- For performing GraphQL mutations
- Fetching GraphQL queries
- Caching data
- Error and loading UI states
-
GraphQL Yoga
- Implementing query and mutation resolvers
- Custom server-side logic
- Charging credit cards
- Sending email
- Performing authentication
- Checking permissions
-
Prisma
- Queried directly from yoga server
- For interfacing with data relationships
- Providing a set of CRUD APIs for MySQL database