{"id":18614901,"url":"https://github.com/andrewjbateman/next-fauna-data","last_synced_at":"2026-05-05T14:04:00.303Z","repository":{"id":96860719,"uuid":"403112599","full_name":"AndrewJBateman/next-fauna-data","owner":"AndrewJBateman","description":":clipboard: A Next.js Guestbook app with Fauna backend using GraphQL, boilerplate code from Vercel","archived":false,"fork":false,"pushed_at":"2021-09-05T08:43:08.000Z","size":254,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T02:17:21.484Z","etag":null,"topics":["boilerplate-application","fauna","faunadb","guestbook","nextjs","tailwindcss","vercel","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://nextjs-fauna-puce.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-04T17:06:16.000Z","updated_at":"2023-05-26T12:21:01.000Z","dependencies_parsed_at":"2023-03-30T11:36:15.797Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/next-fauna-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/next-fauna-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-fauna-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-fauna-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-fauna-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-fauna-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/next-fauna-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fnext-fauna-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32652496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate-application","fauna","faunadb","guestbook","nextjs","tailwindcss","vercel","vercel-deployment"],"created_at":"2024-11-07T03:27:23.461Z","updated_at":"2026-05-05T14:04:00.267Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Next Fauna Data\n\n* A Next.js Guestbook app with Fauna backend using GraphQL, boilerplate code from Vercel\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/next-fauna-data?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/next-fauna-data?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/next-fauna-data?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/next-fauna-data?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Next Fauna Data](#zap-next-fauna-data)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General Info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General Info\n\n* [Vercel Fauna integration](https://vercel.com/integrations/fauna) project with Fauna database\n* [Fauna data API](https://fauna.com/) transactional database used as a cloud API with native GraphQL\n* [Next.js](https://nextjs.org/) used for frontend\n* [Tailwind CSS](https://tailwindcss.com/) used for styling\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/guestbook.png)\n![Example screenshot](./imgs/db.png)\n\n## :signal_strength: Technologies\n\n* [Fauna data API](https://fauna.com/) transactional database used as a cloud API with native GraphQL with [FaunaDB Javascript Driver](https://www.npmjs.com/package/faunadb)\n* [Next v11](https://nextjs.org/) minimalist framework for rendering react apps on the server.\n* [React v17](https://reactjs.org/) Javascript library.\n* [GraphQL v15](https://graphql.org/) API query language\n* [Tailwind v2](https://tailwindcss.com/) utility-first CSS framework\n* [PostCSS v8](https://postcss.org/) tool for transforming CSS with JavaScript\n\n## :floppy_disk: Setup\n\n* `npm run dev` runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser. **Note:** requires Fauna API key\n* `npm run build` builds the app for production to the `build` folder. **Note:** requests Fauna API key\n* `npm run start` to run the built app.\n\n## :computer: Code Examples - taken from Vercel boilerplate code\n\n* `lib/fauna.js` mutation function to create a new guestbook entry\n\n```javascript\nexport const createGuestbookEntry = (newEntry) =\u003e {\n  const mutation = gql`\n    mutation CreateGuestbookEntry($input: GuestbookEntryInput!) {\n      createGuestbookEntry(data: $input) {\n        _id\n        _ts\n        name\n        message\n        createdAt\n      }\n    }\n  `\n\n  return graphQLClient.request(mutation, { input: newEntry })\n}\n```\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working. Deployed to Vercel\n* To-Do: Add extra fields and a user image/icon. Need Fauna API key to run dev. server\n\n## :clap: Inspiration\n\n* [Fauna GraphQL Reference](https://docs.fauna.com/fauna/current/api/graphql/)\n\n## :file_folder: License\n\n* N/A\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-fauna-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fnext-fauna-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fnext-fauna-data/lists"}