{"id":28505433,"url":"https://github.com/farsit-007/thinkgreenly","last_synced_at":"2026-04-17T15:33:23.833Z","repository":{"id":296664918,"uuid":"992178788","full_name":"Farsit-007/ThinkGreenly","owner":"Farsit-007","description":"A Next.js-powered community platform for sharing and voting on sustainable ideas. Admins moderate submissions, while members collaborate on eco-friendly solutions.","archived":false,"fork":false,"pushed_at":"2025-06-05T21:25:50.000Z","size":11532,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-08T19:07:55.143Z","etag":null,"topics":["expressjs","jwt","next","shadcn-ui","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://think-greenly-one.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/Farsit-007.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":"2025-05-28T18:35:59.000Z","updated_at":"2025-06-05T21:25:53.000Z","dependencies_parsed_at":"2025-06-01T16:07:36.954Z","dependency_job_id":null,"html_url":"https://github.com/Farsit-007/ThinkGreenly","commit_stats":null,"previous_names":["farsit-007/thinkgreenly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Farsit-007/ThinkGreenly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farsit-007%2FThinkGreenly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farsit-007%2FThinkGreenly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farsit-007%2FThinkGreenly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farsit-007%2FThinkGreenly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Farsit-007","download_url":"https://codeload.github.com/Farsit-007/ThinkGreenly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Farsit-007%2FThinkGreenly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263556977,"owners_count":23480105,"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":["expressjs","jwt","next","shadcn-ui","tailwindcss","typescript"],"created_at":"2025-06-08T19:07:27.607Z","updated_at":"2026-04-17T15:33:23.803Z","avatar_url":"https://github.com/Farsit-007.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌱 ThinkGreenly (Frontend)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\n# 📌 Overview\n\nA Next.js-powered community platform for sharing and voting on sustainable\nideas. Admins moderate submissions, while members collaborate on eco-friendly\nsolutions.\n\n## 🌍 Live URL\n\n- [Front-end](https://think-greenly-one.vercel.app)\n- [Back-end](https://think-greenly-serverside.vercel.app)\n\n## 📂 Repository Link\n\n- [Front-end](https://github.com/khaledssbd/ThinkGreenly)\n- [Back-end](https://github.com/khaledssbd/ThinkGreenly-apis)\n\n## 🛠️ Features\n\n- **User Authentication**: JWT-based login/registration.\n- **Idea Management**: Submit, draft, comment and vote on ideas (Reddit-style).\n- **Admin Dashboard**: Approve/reject ideas, manage categories.\n- **Responsive UI**: Built with Tailwind CSS \u0026 Shadcn UI.\n- **Payment Integration**: SSLCommerz for \"Paid Ideas\"\n\n## 🏗️ Tech Stack\n\n#### Frontend\n\n- **Framework**: Next.js (App Router)\n- **Styling**: Tailwind CSS\n- **Form Handling**: React Hook Form\n- **Validation**: Zod\n\n#### Backend\n\n- **Framework**: Express.js\n- **Database**: PostgreSQL\n- **ORM**: Prisma\n- **Payment Method**: SSL Commerz\n- **Image hosting**: Multer \u0026 Cloudinary\n- **Mail Provider**: Nodemailer\n- **Validation**: Zod\n\n---\n\n## 🏃‍♂️ Setup Guide (Frontend)\n\n### Prerequisites\n\n- Node.js ≥18.x\n- npm/yarn/pnpm\n\n### Installation\n\n1. Clone the repo:\n\n   ```bash\n   git clone https://github.com/khaledssbd/ThinkGreenly.git\n   cd ThinkGreenly\n\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n\n   ```\n\n3. Create .env file with:\n\n   ```bash\n   NEXT_PUBLIC_API_URL=\"your_backend_url\"\n\n   ```\n\n4. Run the dev server:\n   ```bash\n   npm run dev\n   ```\n\n## 🏃‍♂️ Setup Guide (Backend)\n\n### Prerequisites\n\n- Node.js ≥18.x\n- npm/yarn/pnpm\n\n### Installation\n\n1. Clone the repo:\n\n   ```bash\n   git clone https://github.com/khaledssbd/ThinkGreenly-apis.git\n   cd ThinkGreenly-apis\n\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n\n   ```\n\n3. Create .env file with:\n\n   ```bash\n   NODE_ENV=\"development\"\n   PORT=5000\n   DATABASE_URL=\"\"\n\n   JWT_SECRET=\"\"\n   JWT_EXPIRATION=\"15d\"\n   JWT_REFRESH=\"\"\n   JWT_REFRESH_EXPIRATION=\"7d\"\n\n   RESET_PASSWORD_SECRET=\"\"\n   RESET_PASSWORD_EXPIRATION=\"10m\"\n   RESET_PASSWORD_LINK=\"http://localhost:5000/auth/reset-password\"\n\n   BCRYPT_SALT_ROUNDS=12\n   SMTP_HOST=\"smtp.gmail.com\"\n   SMTP_PORT=587\n   SMTP_USER=\"\"\n   SMTP_APP_PASSWORD=\"\"\n\n   CLOUDINARY_CLOUD_NAME=\"\"\n   CLOUDINARY_API_KEY=\"\"\n   CLOUDINARY_API_SECRET=\"\"\n\n   ```\n\n4. Run the dev server:\n   ```bash\n   npm run dev\n   ```\n\n![alt text](think-greenly-one.vercel.app_.png)\n\n## License\n\nMIT (do whatever you want to do :smile: )\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarsit-007%2Fthinkgreenly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarsit-007%2Fthinkgreenly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarsit-007%2Fthinkgreenly/lists"}