{"id":18942695,"url":"https://github.com/kamalheydari/digikala-clone-nextjs","last_synced_at":"2025-07-26T04:33:55.240Z","repository":{"id":54345704,"uuid":"500013020","full_name":"kamalheydari/digikala-clone-nextjs","owner":"kamalheydari","description":"advance clone of digikala includes products page, single product page, category, sorting, filtering, JWT authentication, login page, register page, edit user information, order cart, review and admin dashbord to add new product, accept reviews, add category, details and specification for category and more...","archived":false,"fork":false,"pushed_at":"2025-02-02T16:35:56.000Z","size":6926,"stargazers_count":42,"open_issues_count":1,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-06T13:04:31.871Z","etag":null,"topics":["form-hooks","headlessui-react","jalali-moment","jwt-authentication","mongodb","nextjs","react","swiper","tailwindcss"],"latest_commit_sha":null,"homepage":"https://digikala-clone-nextjs-p.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/kamalheydari.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,"zenodo":null}},"created_at":"2022-06-05T05:56:16.000Z","updated_at":"2025-06-04T15:26:44.000Z","dependencies_parsed_at":"2024-01-09T09:45:25.146Z","dependency_job_id":"39153c52-48b1-4585-8f52-81c524878e9b","html_url":"https://github.com/kamalheydari/digikala-clone-nextjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kamalheydari/digikala-clone-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamalheydari%2Fdigikala-clone-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamalheydari%2Fdigikala-clone-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamalheydari%2Fdigikala-clone-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamalheydari%2Fdigikala-clone-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamalheydari","download_url":"https://codeload.github.com/kamalheydari/digikala-clone-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamalheydari%2Fdigikala-clone-nextjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267117370,"owners_count":24038654,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["form-hooks","headlessui-react","jalali-moment","jwt-authentication","mongodb","nextjs","react","swiper","tailwindcss"],"created_at":"2024-11-08T12:33:57.974Z","updated_at":"2025-07-26T04:33:55.209Z","avatar_url":"https://github.com/kamalheydari.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digikala Clone NextJs\n\nAdvance clone of digikala includes products page, single product page, category, sorting, filtering, JWT authentication, login page, register page, edit user information, order cart, review and admin dashbord to add new product, accept reviews, add category, details and specification for category and more...\n\n## Using\n\n- NextJs\n- Typescript\n- TailwindCss\n- MongoDB\n- Redux - Toolkit - RTK Query\n- JWT\n\n## Features\n\nFull-stack e-commerce website\n\n- Allows registered users to place orders, write product reviews, and update their account information.\n\nAdmin privileges\n\n- Enables creation of new product categories.\n- Allows definition of unique specifications and features for each category.\n- Manages banners, sliders, and new product listings.\n- Updates the status of orders and reviews.\n\nUser-friendly search, filter, and sort functions\n\n- Enables easy product discovery and sorting based on user preferences.\n- Displays top discount products, most favorited items, and best-selling products for each category.\n\n## How to install and run the project ...\n\n1. Clone or download the repository by running the following command in your terminal:\n\n```bash\ngit clone https://github.com/kamalheydari/digikala-clone-nextjs.git\n```\n\n2. Install the project dependencies using either npm or yarn:\n\n```bash\nnpm install\n```\n\nor\n\n```bash\nyarn\n```\n\n3. Define the required environment variables in a file named .env.local located in the root directory of the project. The following variables are necessary:\n\n```bash\n    MONGODB_URL=\u003cyour MongoDB connection URL\u003e\n\n    JWT_SECRET_KEY=\u003cyour access token secret\u003e\n\n    NEXT_PUBLIC_LIARA_ENDPOINT=\u003cyour Liara endpoint\u003e\n    NEXT_PUBLIC_LIARA_BUCKET_NAME=\u003cyour Liara bucket name\u003e\n    NEXT_PUBLIC_LIARA_ACCESS_KEY=\u003cyour Liara access key\u003e\n    NEXT_PUBLIC_LIARA_SECRET_KEY=\u003cyour Liara secret key\u003e\n\n```\n\n4. Install [MongoDB](https://www.mongodb.com/try/download/community-kubernetes-operator) and [MongoDB Compass](https://www.mongodb.com/products/compass) on your local machine. If you already have a MongoDB instance set up, skip this step.\n\n5. Download the database from the following link:\n\n```bash\nhttps://drive.google.com/drive/folders/1tonl8z-LbPM_umavCs9DBVs4hc0CmwVd?usp=sharing\n```\n\n6. Create a new database in MongoDB Compass and create the required collections with the same names as the downloaded JSON files. Then, import the data from the downloaded files into the corresponding collections.\n\n7. Log in to [Liara](https://liara.ir/) for free and create a new bucket (ذخیره سازی ابری). Then, set the last four environment variables listed above to the corresponding values provided by Liara. This will allow the application to use Liara for cloud storage.\n\n8. Create an account by accessing the following URL in your web browser:\n\n```bash\nhttp://localhost:3000/authentication/login\n```\n\n9. After creating the account, find your account in the database and change the `role` field to `root`. This will grant you access to all the admin dashboard features.\n\n## Demo\n\nSee demo on vercel\n[Nextjs Digikala Clone](https://digikala-clone-nextjs-p.vercel.app/)\n\n### Home Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_01.png)\n\n### Category Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_02.png)\n\n### Products Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_03.png)\n\n### Product Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_04.png)\n\n### Cart Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_05.png)\n\n### Shipping Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_06.png)\n\n### Profile Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_07.png)\n\n### Adrress Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_08.png)\n\n### Orders Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_09.png)\n\n### Admin/Products Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_10.png)\n\n### Admin/Edit Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_11.png)\n\n### Admin/Details Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_12.png)\n\n### Admin/Categories Tree Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_13.png)\n\n### Admin/Banners Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_14.png)\n\n### Admin/Categories List Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_15.png)\n\n### Admin/Category Create Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_16.png)\n\n### Admin/Sliders Page\n\n![demo](https://digikala-clone-heydari-db.storage.iran.liara.space/digikala-demo/demo_17.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamalheydari%2Fdigikala-clone-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamalheydari%2Fdigikala-clone-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamalheydari%2Fdigikala-clone-nextjs/lists"}