Add .env in root (prisma)
DATABASE_URL="mongodburl"
Run the prisma command
npx prisma generate
npx prisma db push
Run the graphql-server:(port 3000)
json-graphql-server graphql-server.json
Run the dev server:
npm run dev
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of npm run build
build/server
build/client