{"id":28911565,"url":"https://github.com/sourabhsinghrajput45/tasktrek","last_synced_at":"2026-04-07T09:31:48.526Z","repository":{"id":300200710,"uuid":"1005503687","full_name":"sourabhsinghrajput45/TaskTrek","owner":"sourabhsinghrajput45","description":"TaskTrek is a full-stack role-based task management app built with React, Node.js, Express, Sequelize, and PostgreSQL. It supports secure JWT authentication, lets admins assign tasks, and allows users to manage their responsibilities through a modern and responsive UI.","archived":false,"fork":false,"pushed_at":"2025-06-20T10:35:45.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T11:36:25.278Z","etag":null,"topics":["express","fullstack","jwt","mysql","nodejs","rbac","react","sequelize","task-manager"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sourabhsinghrajput45.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-06-20T10:28:05.000Z","updated_at":"2025-06-20T10:35:48.000Z","dependencies_parsed_at":"2025-06-20T11:47:45.036Z","dependency_job_id":null,"html_url":"https://github.com/sourabhsinghrajput45/TaskTrek","commit_stats":null,"previous_names":["sourabhsinghrajput45/tasktrek"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sourabhsinghrajput45/TaskTrek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourabhsinghrajput45%2FTaskTrek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourabhsinghrajput45%2FTaskTrek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourabhsinghrajput45%2FTaskTrek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourabhsinghrajput45%2FTaskTrek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourabhsinghrajput45","download_url":"https://codeload.github.com/sourabhsinghrajput45/TaskTrek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourabhsinghrajput45%2FTaskTrek/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261179156,"owners_count":23120861,"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":["express","fullstack","jwt","mysql","nodejs","rbac","react","sequelize","task-manager"],"created_at":"2025-06-21T19:09:02.638Z","updated_at":"2025-12-30T22:27:27.160Z","avatar_url":"https://github.com/sourabhsinghrajput45.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📋 TaskTrek\n\nTaskTrek is a full-stack role-based task management application. It allows users to register, log in, and view their assigned tasks. Admins have extended functionality such as assigning tasks to team members. Built with React, Express, Sequelize ORM, and PostgreSQL, it includes secure JWT-based authentication and authorization.\n\n## 🚀 Features\n\n- 🔐 JWT Authentication (Login / Registration)\n- 👥 Role-based Access Control (Admin / Member)\n- 🧩 Task Management with Status Updates\n- 📬 Task Assignment (Admin-only)\n- 🌐 Protected Routes via Middleware\n- 📦 Sequelize ORM with PostgreSQL\n\n## 🛠️ Tech Stack\n\n**Frontend**:\n- React + Vite\n- Tailwind CSS\n- Axios\n\n**Backend**:\n- Node.js\n- Express.js\n- MySQL\n- Sequelize ORM\n- JSON Web Token (JWT)\n- bcrypt\n\n## 📂 Project Structure\n\n```\ntasktrek/\n├── client/                # React frontend\n│   ├── src/\n│   │   ├── components/\n│   │   ├── pages/\n│   │   └── api/\n├── backend/\n│   ├── controllers/\n│   ├── middleware/\n│   ├── models/\n│   ├── routes/\n│   └── server.js\n```\n\n## ⚙️ Setup Instructions\n\n### 1. Clone the Repo\n\n```bash\ngit clone https://github.com/your-username/tasktrek.git\ncd tasktrek\n```\n\n### 2. Setup Backend\n\n```bash\ncd backend\nnpm install\ncp .env.example .env   # Fill in DB and JWT_SECRET\nnode server.js\n```\n\n### 3. Setup Frontend\n\n```bash\ncd client\nnpm install\nnpm run dev\n```\n\n## 🔑 Environment Variables (`.env` for backend)\n\n```env\nDATABASE_URL=postgres://username:password@localhost:5432/tasktrekdb\nJWT_SECRET=your_jwt_secret\n```\n\n## 🛡️ API Routes\n\n### Auth Routes\n\n| Method | Endpoint         | Description         |\n|--------|------------------|---------------------|\n| POST   | /api/auth/register | Register new user |\n| POST   | /api/auth/login    | Login user         |\n| GET    | /api/auth/users    | Get all users (admin only) |\n\n### Task Routes\n\n| Method | Endpoint         | Description         |\n|--------|------------------|---------------------|\n| GET    | /api/tasks/      | Get all tasks       |\n| POST   | /api/tasks/      | Create task (admin only) |\n\n## 👨‍💻 Author\n\nBuilt with ❤️ by [Your Name](https://github.com/sourabhsinghrajput45)\n\n---\n\n© 2025 TaskTrek. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourabhsinghrajput45%2Ftasktrek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourabhsinghrajput45%2Ftasktrek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourabhsinghrajput45%2Ftasktrek/lists"}