{"id":22612270,"url":"https://github.com/rcrdk/book-wise","last_synced_at":"2026-04-07T18:32:40.372Z","repository":{"id":238914732,"uuid":"793755288","full_name":"rcrdk/book-wise","owner":"rcrdk","description":"A prototype of rate a book app on a Next.js App.","archived":false,"fork":false,"pushed_at":"2024-05-17T19:41:38.000Z","size":2864,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:22:38.037Z","etag":null,"topics":["chadcnui","google-oauth","next-auth","nextjs","postgresql","prisma","react","react-query","stitches","typescript"],"latest_commit_sha":null,"homepage":"https://book-wise-flame.vercel.app","language":"TypeScript","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/rcrdk.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":"2024-04-29T20:00:27.000Z","updated_at":"2024-09-08T10:58:46.000Z","dependencies_parsed_at":"2024-12-08T17:11:52.176Z","dependency_job_id":null,"html_url":"https://github.com/rcrdk/book-wise","commit_stats":null,"previous_names":["rcrdk/book-wise"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rcrdk/book-wise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcrdk%2Fbook-wise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcrdk%2Fbook-wise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcrdk%2Fbook-wise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcrdk%2Fbook-wise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcrdk","download_url":"https://codeload.github.com/rcrdk/book-wise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcrdk%2Fbook-wise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31524525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":["chadcnui","google-oauth","next-auth","nextjs","postgresql","prisma","react","react-query","stitches","typescript"],"created_at":"2024-12-08T17:11:48.878Z","updated_at":"2026-04-07T18:32:40.344Z","avatar_url":"https://github.com/rcrdk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 BookWise\nI developed this project during classes and as a challenge of my latest studies on React lessons at [Rocketseat](https://www.rocketseat.com.br).\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"BookWise Project Preview\" src=\"https://github.com/rcrdk/book-wise/blob/main/public/preview.jpg?raw=true\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n## 🚀 Techs and Tools\n\n- [React](https://reactjs.org) + [Next.js](https://nextjs.org/) + [TypeScript](https://www.typescriptlang.org/)\n- [shadcn/ui](https://ui.shadcn.com)\n- [React Query](https://tanstack.com/query/v3/)\n- [Stitches](https://stitches.dev)\n- [NextAuth.js](https://next-auth.js.org/) + [Google oAuth](https://developers.google.com/identity/protocols/oauth2) + [GitHub oAuth](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps)\n- PostgreSQL + [Prisma](https://www.prisma.io/) + [Neon](https://neon.tech/)\n\n## 🎨 About \n\nThis project was developed based on a figma design provied by the school. The main practice was to code a full-stack \"Rate a Book\" app. On the app the user can access with signin or just as a guest.\n\nIt was used NextAuth.js along with Google and GitHub accounts integration for authentication. All data was stored using a PostgreSQL database, in production was setted a Neon database. On development was used MySQL. Prisma was used to interact and manage with database.\n\nOn the first user access it's possible to enter dashboard as logged user with possibility of rating a book or as a guest for only viewing data. On dashboard are available the last book rated by the user, a paginated feed with latest book rated on app, and a small list of popular books. On explorer, the user can search for a book by a search field and by category. On profile are shown latest user ratings and stats of books readed and rated. By clicking on any rate or book a modal is opened containing book information and it's latest ratings, also, its possible to post a rating if the user is logged.\n\n## 🔗 Links\n\n- [Design / Figma](https://www.figma.com/design/VbEdYdHPctFQ08psEzg7Ji/Desafio---BookWise?node-id=1%3A17\u0026t=x90Hvl8puoOElwpl-1)\n- [Deploy](https://book-wise-flame.vercel.app)\n\n## ⚙️ Enviroment Variables\n\n```shell\n# Database PostgreSQL\nDATABASE_URL=\"\"\nDATABASE_DIRECT_URL=\"\"\n\n# Google oAuth\nGOOGLE_CLIENT_ID=\"\"\nGOOGLE_CLIENT_SECRET=\"\"\n\n# GitHub oAuth\nGITHUB_CLIENT_ID=\"\"\nGITHUB_CLIENT_SECRET=\"\"\n\n# Next Auth\nNEXTAUTH_URL=\"\"\nNEXTAUTH_SECRET=\"\"\n\n# Options\nNEXT_PUBLIC_ENABLE_API_DELAY=\"false\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcrdk%2Fbook-wise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcrdk%2Fbook-wise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcrdk%2Fbook-wise/lists"}