{"repo":"ivanms1/turbo-pothos-prisma-nextjs-template","free":true,"listed":false,"github":"https://github.com/ivanms1/turbo-pothos-prisma-nextjs-template","clone":"git clone https://github.com/ivanms1/turbo-pothos-prisma-nextjs-template.git","description":"Turborepo + Pothos + Prisma + Next","language":"TypeScript","stars":25,"topics":["photos","apollo","graphql","nextjs","prisma","react"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Turborepo + Pothos + Prisma + Next Template Technology stack - Backend: Node.js, Pothos GraphQL, Prisma and Apollo Server - Frontend: React.js, Next.js and Apollo Client Monorepo Setup - apps/api : Node.js app, provides all the apis and connects to the database. - apps/web : Main app powered by Next.js - apps/admin : Next.js app for admin purposes - packages/ui : Internal component library used by both web and admin applications - packages/apollo-hooks : Libary of apollo-graphql hooks generated by GraphQL Code Generator for web and admin app to consume Requirements - ### General - Yarn This repository uses Yarn as a package manager. - Enviroment Variables Inside the apps/web and apps/admin directories Running the app - To install project deps, run - Initialize the database or sync the database schema - Generate the pr the prismas client and types - Seed the database - Run app - Start the server - Start server + web - Start server + admin - Start server + admin + web Generating GraphQL Hooks - To generate the graphql hooks, run This command will detect all the graphql files inside the apps/web and apps/admin directories and generate the hooks for them.","default_branch":null,"files":null,"tree":[],"storefront":"/r/ivanms1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ivanms1/turbo-pothos-prisma-nextjs-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}