{"id":22556198,"url":"https://github.com/ayusharma-ctrl/taskify","last_synced_at":"2026-04-09T23:03:50.946Z","repository":{"id":251197630,"uuid":"836416909","full_name":"ayusharma-ctrl/Taskify","owner":"ayusharma-ctrl","description":"A decentralized to-do application (dApp) with Blockchain and AI Agent  Integration.","archived":false,"fork":false,"pushed_at":"2025-01-23T07:07:07.000Z","size":518,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T11:31:48.207Z","etag":null,"topics":["alchemy","blockchain","express","google-gemini-ai","hardhat","nextjs14","nodejs","socket-io","solidity-contracts","solidity-dapps","testnet","typescript","web3js"],"latest_commit_sha":null,"homepage":"","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/ayusharma-ctrl.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-07-31T19:59:28.000Z","updated_at":"2025-01-23T07:07:11.000Z","dependencies_parsed_at":"2025-02-02T11:30:55.930Z","dependency_job_id":"024d49f9-f5f2-4c1b-8684-f1a69072f2f6","html_url":"https://github.com/ayusharma-ctrl/Taskify","commit_stats":null,"previous_names":["ayusharma-ctrl/taskify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayusharma-ctrl%2FTaskify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayusharma-ctrl%2FTaskify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayusharma-ctrl%2FTaskify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayusharma-ctrl%2FTaskify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayusharma-ctrl","download_url":"https://codeload.github.com/ayusharma-ctrl/Taskify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017726,"owners_count":20710240,"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":["alchemy","blockchain","express","google-gemini-ai","hardhat","nextjs14","nodejs","socket-io","solidity-contracts","solidity-dapps","testnet","typescript","web3js"],"created_at":"2024-12-07T19:11:35.066Z","updated_at":"2026-04-09T23:03:45.925Z","avatar_url":"https://github.com/ayusharma-ctrl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taskify: \n## A decentralized to-do application (dApp) with Blockchain and AI Agent Integration.\n\nThis repository contains both the **frontend** and **backend** for a Todo Application with blockchain integration.\n\n## Prerequisites\n\nEnsure you have the following installed on your machine:\n\n- [Node.js](https://nodejs.org/) (v16.x or later)\n- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)\n- [MetaMask](https://metamask.io/) extension installed on your browser\n- Access to a Polygon testnet (e.g., Polygon PoS Amoy)\n- Test POL tokens for the testnet ([Get Free POL](https://faucet.polygon.technology/))\n\n---\n\n## Project Structure\n\n```\nroot\n├── client/         # Next.js\n├── backend/        # Node.js and Express.js\n└── README.md       # This documentation file\n```\n\n---\n\n## How to Run the Project Locally\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/ayusharma-ctrl/Taskify.git\ncd Taskify\n```\n\n### 2. Setup Backend\n\n1. Navigate to the `backend` directory:\n\n    ```bash\n    cd backend\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    npm install --legacy-peer-deps\n    or\n    npm install --force\n    ```\n\n3. Create a `.env` file in the `backend` directory and configure the following environment variables:\n\n    ```env\n    PORT=5000\n\n    MONGO_URI=your_mongodb_connection_string\n\n    FRONTEND_URL=frontend_server_uri\n\n    NODE_ENV=development\n\n    JWT_SECRET=your_jwt_secret\n\n    JWT_COOKIE_EXPIRE=10\n\n    API_URL=https://rpc-amoy.polygon.technology\n\n    PRIVATE_KEY=your_private_key_from_metamask\n\n    CONTRACT_ADDRESS=deployed_contract_address\n\n    ALCHEMY_WEBSOCKET_URL=wss://polygon-amoy.g.alchemy.com/v2/your_api_key\n\n    GEMINI_API_KEY=your_google_gemini_api_key\n    ```\n\n4. Start the backend server:\n\n    ```bash\n    npm run dev\n    ```\n\n   The backend will run at `http://localhost:5000`.\n\n### 3. Setup Frontend\n\n1. Navigate to the `frontend` directory:\n\n    ```bash\n    cd ../frontend\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    npm install\n    ```\n\n3. Create a `.env` file in the `frontend` directory and configure the following environment variable:\n\n    ```env\n    NEXT_PUBLIC_API_URL=http://localhost:5000/api/v1\n    NEXT_PUBLIC_SOCKET_URL=http://localhost:5000\n    ```\n\n4. Start the frontend development server:\n\n    ```bash\n    npm run dev\n    ```\n\n   The frontend will run at `http://localhost:3000`.\n\n---\n\n## Usage and Features\n\n1. Open the frontend application in your browser at `http://localhost:3000`.\n2. Connect your MetaMask wallet to the Polygon PoS Amoy testnet.\n3. Add tasks, retrieve them, and modify their details using the app. All task data will be stored on the blockchain.\n4. Get reminders for overdue tasks.\n5. Suggest task priorities based on deadlines and task types. \n\n---\n\n## Troubleshooting\n\n- **Backend not connecting to MongoDB:** Ensure your `MONGO_URI` in `.env` is correctly set.\n- **Frontend not connecting to backend:** Verify the `NEXT_PUBLIC_API_URL` in the frontend `.env` file points to the correct backend URL.\n- **Contract not working:** Check if the `CONTRACT_ADDRESS` is correctly set in the backend `.env` file and matches your deployed contract address.\n\n---\n\n## Notes\n\n- For blockchain-related functionalities, make sure you have test POL or MATIC tokens in your wallet.\n- Ensure you are on the Polygon Amoy testnet in MetaMask to interact with the smart contract.\n\n---\n\n![alt text](https://i.ibb.co/pLkb3CR/Screenshot-2025-01-20-032500.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayusharma-ctrl%2Ftaskify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayusharma-ctrl%2Ftaskify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayusharma-ctrl%2Ftaskify/lists"}