Skip to content
eCommerce webapp built with react, graphql, nextjs, apollo in the frontend and yoga and prisma for the backend
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend Comment server start Dec 26, 2018
frontend
.gitignore Basic cloned Dec 1, 2018
readme.md Update demo url Dec 26, 2018

readme.md

React and GraphQL ecommerce webapp

I develop this app while doing the Advanced React & GraphQL course by Wes Bos

DEMO: https://funko-dogo-next-prod.herokuapp.com

Frontend

Data Management

  • Apollo Client replaces the need for redux + data fetching/caching libraries

Backend

GraphQL Yoga: An Express GraphQL Server For:

  • Implementing Query and Mutation Resolvers
  • Custom Server Side Logic
  • Charging Credit Cards with Stripe
  • Sending Email
  • Performing JWT Authentication
  • Checking Permissions

Prisma

  • Provides a set of GraphQL CRUD APIs for a MySQL, Postgres or MongoDB Database
  • Schema Definition
  • Data Relationships
  • Queried Directly from our Yoga Server
  • Self-hosted or as-a-service

How to run it:

  1. Clone the repo
  2. From the folders backend and frontend run:
    • npm install
    • npm run dev
  3. GraphQL server runs: http://localhost:4444
  4. Webapp (react) runs: http://localhost:7777

Unit testing:

From the frontend folder run: npm run test

You can’t perform that action at this time.