{"id":20765326,"url":"https://github.com/manjurulhoque/book-store","last_synced_at":"2025-04-09T16:11:24.789Z","repository":{"id":259886756,"uuid":"877925736","full_name":"manjurulhoque/book-store","owner":"manjurulhoque","description":"A full-stack book store application built with Go for the backend and Next.js for the frontend.","archived":false,"fork":false,"pushed_at":"2024-10-30T04:35:18.000Z","size":7311,"stargazers_count":74,"open_issues_count":0,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T16:11:17.607Z","etag":null,"topics":["gin","gin-framework","gin-gonic","golang","next-auth","nextjs"],"latest_commit_sha":null,"homepage":"","language":"Go","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/manjurulhoque.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-10-24T13:32:25.000Z","updated_at":"2025-04-02T11:10:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8400455d-7f25-4032-b1b0-72a7b7c656fa","html_url":"https://github.com/manjurulhoque/book-store","commit_stats":null,"previous_names":["manjurulhoque/book-store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjurulhoque%2Fbook-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjurulhoque%2Fbook-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjurulhoque%2Fbook-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manjurulhoque%2Fbook-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manjurulhoque","download_url":"https://codeload.github.com/manjurulhoque/book-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065284,"owners_count":21041872,"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":["gin","gin-framework","gin-gonic","golang","next-auth","nextjs"],"created_at":"2024-11-17T11:16:12.354Z","updated_at":"2025-04-09T16:11:24.770Z","avatar_url":"https://github.com/manjurulhoque.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Store\n\nThis is a full-stack book store application built with Go for the backend and Next.js for the frontend.\n\n## Features\n\n- User authentication and authorization\n- Admin dashboard for managing books and orders\n- Goroutine practice\n- JWT token generation with custom claims\n- CRUD operations for books and orders\n- Middleware for request validation and logging\n- Responsive UI with React and Next.js\n- State management with Redux Toolkit\n\n## Tech Stack\n\n### Backend\n\n- **Go**: Programming language for the backend\n- **Gin**: Web framework for building the API\n- **GORM**: ORM library for database interactions\n- **JWT**: JSON Web Tokens for authentication\n- **Slog**: Structured logging\n\n### Frontend\n\n- **Next.js**: React framework for server-side rendering and static site generation\n- **React**: JavaScript library for building user interfaces\n- **Redux Toolkit**: State management\n- **TypeScript**: Typed superset of JavaScript\n- **ESLint**: Linting tool for code quality\n\n## Screenshots\n\n### Home Page\n![Home Page](./screenshots/sc1.png)\n\n### Books Page\n![Books Page](./screenshots/sc2.png)\n\n### Cart Page\n![Cart](./screenshots/sc3.png)\n\n### Admin dashboard\n![Dashboard](./screenshots/sc4.png)\n\n## Getting Started\n\n### Backend\n\n1. Navigate to the backend directory:\n    ```bash\n    cd backend\n    ```\n\n2. Install dependencies:\n    ```bash\n    go mod tidy\n    ```\n\n3. Run the server:\n    ```bash\n    go run main.go\n    ```\n\n### Frontend\n\n1. Navigate to the frontend directory:\n    ```bash\n    cd frontend\n    ```\n\n2. Install dependencies:\n    ```bash\n    npm install\n    ```\n\n3. Run the development server:\n    ```bash\n    npm run dev\n    # or\n    yarn dev\n    # or\n    pnpm dev\n    # or\n    bun dev\n    ```\n\n4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Learn More\n\nTo learn more about the technologies used in this project, take a look at the following resources:\n\n- [Go Documentation](https://golang.org/doc/)\n- [Gin Documentation](https://gin-gonic.com/docs/)\n- [Next.js Documentation](https://nextjs.org/docs)\n- [React Documentation](https://reactjs.org/docs/getting-started.html)\n- [Redux Toolkit Documentation](https://redux-toolkit.js.org/introduction/getting-started)\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanjurulhoque%2Fbook-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanjurulhoque%2Fbook-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanjurulhoque%2Fbook-store/lists"}