├── .github └── workflows │ └── deploy.yaml ├── .gitignore ├── .graphqlconfig ├── .wundergraph ├── operations │ ├── AddMessage.graphql │ ├── AllUsers.graphql │ ├── ChangeUserName.graphql │ ├── Countries.graphql │ ├── DeleteAllMessagesByUserEmail.graphql │ ├── Germany.graphql │ ├── Hello.graphql │ ├── Messages.graphql │ ├── Query.graphql │ ├── SetLastLogin.graphql │ ├── UpdateUser.graphql │ ├── Us.graphql │ └── UserInfo.graphql ├── wundergraph.config.ts ├── wundergraph.manifest.json ├── wundergraph.operations.ts ├── wundergraph.postman.json └── wundergraph.server.ts ├── README.md ├── components └── generated │ ├── models.ts │ └── wundergraph.nextjs.integration.ts ├── database.env ├── docker-compose.yml ├── init.sql ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── admin │ └── index.tsx ├── api │ └── hello.js ├── countries.tsx └── index.tsx ├── public ├── favicon.ico ├── vercel.svg └── wundergraph.svg ├── styles ├── Home.module.css └── globals.css ├── tsconfig.json └── yarn.lock /.github/workflows/deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.github/workflows/deploy.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.gitignore -------------------------------------------------------------------------------- /.graphqlconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.graphqlconfig -------------------------------------------------------------------------------- /.wundergraph/operations/AddMessage.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/AddMessage.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/AllUsers.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/AllUsers.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/ChangeUserName.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/ChangeUserName.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/Countries.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/Countries.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/DeleteAllMessagesByUserEmail.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/DeleteAllMessagesByUserEmail.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/Germany.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/Germany.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/Hello.graphql: -------------------------------------------------------------------------------- 1 | { 2 | gql_hello 3 | } -------------------------------------------------------------------------------- /.wundergraph/operations/Messages.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/Messages.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/Query.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/Query.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/SetLastLogin.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/SetLastLogin.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/UpdateUser.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/UpdateUser.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/Us.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/Us.graphql -------------------------------------------------------------------------------- /.wundergraph/operations/UserInfo.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/operations/UserInfo.graphql -------------------------------------------------------------------------------- /.wundergraph/wundergraph.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/wundergraph.config.ts -------------------------------------------------------------------------------- /.wundergraph/wundergraph.manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/wundergraph.manifest.json -------------------------------------------------------------------------------- /.wundergraph/wundergraph.operations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/wundergraph.operations.ts -------------------------------------------------------------------------------- /.wundergraph/wundergraph.postman.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/wundergraph.postman.json -------------------------------------------------------------------------------- /.wundergraph/wundergraph.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/.wundergraph/wundergraph.server.ts -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/README.md -------------------------------------------------------------------------------- /components/generated/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/components/generated/models.ts -------------------------------------------------------------------------------- /components/generated/wundergraph.nextjs.integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/components/generated/wundergraph.nextjs.integration.ts -------------------------------------------------------------------------------- /database.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/database.env -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/init.sql -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/admin/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/pages/admin/index.tsx -------------------------------------------------------------------------------- /pages/api/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/pages/api/hello.js -------------------------------------------------------------------------------- /pages/countries.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/pages/countries.tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/wundergraph.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/public/wundergraph.svg -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/styles/Home.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wundergraph/nextjs-typescript-postgresql-graphql-realtime-chat/HEAD/yarn.lock --------------------------------------------------------------------------------