I develop this app while doing the Advanced React & GraphQL course by Wes Bos
DEMO: https://funko-dogo-next-prod.herokuapp.com
- Next.js for server side rendering, routing and tooling
- Styled Components for styling
- React-Apollo for interfacing with Apollo Client
- Jest & Enzyme for Testing
- Apollo Client replaces the need for redux + data fetching/caching libraries
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
- 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
- Clone the repo
- From the folders
backend
andfrontend
run:npm install
npm run dev
- GraphQL server runs: http://localhost:4444
- Webapp (react) runs: http://localhost:7777
From the frontend
folder run: npm run test