{"id":16860484,"url":"https://github.com/webpro/bookstore","last_synced_at":"2025-08-25T03:42:07.595Z","repository":{"id":66134204,"uuid":"158698136","full_name":"webpro/bookstore","owner":"webpro","description":"Simple application to learn GraphQL and Next.js.","archived":false,"fork":false,"pushed_at":"2019-01-14T16:07:34.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T19:14:05.759Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-11-22T12:45:40.000Z","updated_at":"2023-09-08T17:47:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"0eeeabac-ea2a-4ee3-b210-425fac2495c9","html_url":"https://github.com/webpro/bookstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fbookstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fbookstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fbookstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fbookstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webpro","download_url":"https://codeload.github.com/webpro/bookstore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244242014,"owners_count":20421797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T14:24:29.130Z","updated_at":"2025-03-18T14:38:33.580Z","avatar_url":"https://github.com/webpro.png","language":"JavaScript","readme":"# bookstore\n\n## Overview\n\nSimple application to learn GraphQL and Next.js.\n\nThe application shows a list of books with a likes count.\nWhen logged in through social login provider (currently only Facebook), books can be liked by the user.\n\nLive demo at [bookstore-webpro.now.sh](https://bookstore-webpro.now.sh).\n\n## Stack\n\n- [Next.js](https://nextjs.org)\n- [GraphQL](https://graphql.org)\n- [Apollo Client](https://www.apollographql.com/docs/react/)\n- [Express](https://expressjs.com)\n- [Material UI](https://material-ui.com)\n\n## Characteristics\n\n- \"Serverless\"\n  - Using [Now](https://zeit.co/now) (version 2)\n  - Backed by [Graphcool](https://www.graph.cool)\n- Material UI with Next.js (see [example](https://github.com/mui-org/material-ui/tree/master/examples/nextjs) and [Server Rendering](https://material-ui.com/guides/server-rendering/))\n- Login using Facebook Login App (see [User Authentication with Facebook for React and Apollo](https://www.graph.cool/docs/tutorials/auth/authentication-with-facebook-for-react-and-apollo-yi9jeuwohl))\n- Custom Express server (see [custom-server-express](https://github.com/zeit/next.js/blob/master/examples/custom-server-express/README.md) example)\n- Local development over SSL using [devcert](https://github.com/davewasmer/devcert) (at [https://bookstore-webpro.now.dev:3000](https://bookstore-webpro.now.dev:3000))\n- Environment variables exposed to client/server (see [Exposing configuration](https://github.com/zeit/next.js#exposing-configuration-to-the-server--client-side)) with [dotenv](https://github.com/motdotla/dotenv)/[dotenv-webpack](https://github.com/mrsteele/dotenv-webpack).\n- Includes a [privacy policy page](https://bookstore-webpro.now.sh/privacy-policy) (regarding data collection from login providers).\n\n## Prerequisites\n\n- [Graphcool](https://www.graph.cool) account and the [Graphcool CLI](https://www.graph.cool/docs/reference/graphcool-cli/overview-zboghez5go).\n- [Facebook Login App](https://developers.facebook.com/docs/facebook-login/web) (for web)\n- [Now](https://zeit.co/now) (only for actual deployments)\n\n## Installation\n\n```\ngit clone https://github.com/webpro/bookstore\ncd bookstore\n```\n\nEdit the `.env` file with your own keys.\n\n```\nnpm install\ngraphcool deploy\nnpm run dev\n```\n\n## Deployment\n\n```\nnow\n```\n\n## Todo/issues\n\n[Issues](https://github.com/webpro/bookstore/issues)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fbookstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebpro%2Fbookstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fbookstore/lists"}