This Turborepo includes the following packages and apps:
country-guesser
: a Next.js 13 service to guess a country from a text using OpenAI (API docs)top-search
: a Next.js 13 service to retrieve the most frequent searches (API docs)api-gateway
: a Next.js 13 & Pothos GraphQL API Gateway (API docs)auth
: a Next.js 13 very simple authentication service & user storage (API docs)frontend
: a Next.js 13 frontend app (exposed at https://microservices-workshop.graphqlhero.com/)logger
: isomorphic logger (a small wrapper around console.log)ui
: a dummy React UI library- TypeScript, Jest and ESLint configurations used throughout the monorepo
Each package and app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
Run the following command:
git clone [email protected]:GraphQLHero/microservices-workshop.git microservices-workshop
cd microservices-workshop
pnpm install
pnpm dev