{"id":22141095,"url":"https://github.com/kinchan-code/task-management-api","last_synced_at":"2026-04-08T16:02:17.473Z","repository":{"id":265505740,"uuid":"896169918","full_name":"Kinchan-code/task-management-api","owner":"Kinchan-code","description":"A personal project for managing users, projects, and tasks with user authentication.","archived":false,"fork":false,"pushed_at":"2024-11-29T17:48:38.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T16:53:44.999Z","etag":null,"topics":["express","mongodb","node","prisma","typescript"],"latest_commit_sha":null,"homepage":"https://task-management-api-eqs9.onrender.com","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/Kinchan-code.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":"2024-11-29T17:33:15.000Z","updated_at":"2024-11-29T17:52:17.000Z","dependencies_parsed_at":"2024-11-29T22:33:48.003Z","dependency_job_id":null,"html_url":"https://github.com/Kinchan-code/task-management-api","commit_stats":null,"previous_names":["kinchan-code/task-management-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kinchan-code/task-management-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftask-management-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftask-management-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftask-management-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftask-management-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kinchan-code","download_url":"https://codeload.github.com/Kinchan-code/task-management-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kinchan-code%2Ftask-management-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["express","mongodb","node","prisma","typescript"],"created_at":"2024-12-01T21:09:51.181Z","updated_at":"2026-04-08T16:02:17.459Z","avatar_url":"https://github.com/Kinchan-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Management API\n\nA personal project for managing users, projects, and tasks with user authentication.\n\n## Overview\n\nThis project is a RESTful API built with Node.js, Express, and Prisma ORM. It includes user authentication and CRUD operations for managing users, projects, and tasks.\n\n## Setup\n\n1. **Install dependencies:**\n\n   Ensure you have Node.js and npm installed on your machine. Then, in the root directory of the project, run:\n\n   ```bash\n   npm install\n   ```\n\n   This will install all the necessary packages listed in `package.json`.\n\n2. **Configure environment variables:**\n\n   Create a `.env` file in the root directory. This file should contain the necessary environment variables for the project. Here is an example of what might be included:\n\n   ```plaintext\n   PORT=3000\n   API_URL=http://localhost:3000\n   COOKIE_SECRET=your_cookie_secret\n   JWT_SECRET=your_jwt_secret_key\n   DATABASE_URL=your_database_url\n   ```\n\n   Replace the placeholder values with your actual configuration details.\n\n3. **Run database migrations:**\n\n   ```bash\n   npx prisma migrate dev\n   ```\n\n4. **Run the project:**\n\n   - **For development:**\n\n     Use the following command to start the development server with hot-reloading:\n\n     ```bash\n     npm run dev\n     ```\n\n     This will use `nodemon` to automatically restart the server when file changes are detected.\n\n   - **For production:**\n\n     To run the project in a production environment, use:\n\n     ```bash\n     npm start\n     ```\n\n     This will start the server using `node`, without hot-reloading.\n\n5. **Access the API:**\n\n   Once the server is running, you can access the API at `http://localhost:3000` (or the port you specified in the `.env` file).\n\n## API Endpoints\n\n- **User Management:**\n\n  - `POST /api/v1/user/signup` - Register a new user\n  - `POST /api/v1/user/login` - Login a user\n  - `POST /api/v1/user/logout` - Logout a user\n  - `POST /api/v1/user/change-password` - Change user password\n  - `GET /api/v1/user/check-cookie` - Check session cookie\n  - `POST /api/v1/user/refresh-token` - Refresh access token\n  - `GET /api/v1/user/profile` - Get user profile\n  - `PUT /api/v1/user/edit-profile` - Edit user profile\n\n- **Project Management:**\n\n  - `POST /api/v1/project/create-project` - Create a new project\n  - `GET /api/v1/project/projects` - Get all projects\n  - `GET /api/v1/project/project/:id` - Get a project by ID\n  - `PUT /api/v1/project/update-project/:id` - Update a project\n  - `DELETE /api/v1/project/delete-project/:id` - Delete a project\n\n- **Task Management:**\n\n  - `POST /api/v1/task/create-task` - Create a new task\n  - `GET /api/v1/task/:projectId/tasks` - Get all tasks for a project\n  - `GET /api/v1/task/:projectId/task/:taskId` - Get a task by ID\n  - `PUT /api/v1/task/update-task/:taskId` - Update a task\n  - `DELETE /api/v1/task/:projectId/delete-task/:taskId` - Delete a task\n\n## License\n\nThis project is for personal use only. All rights reserved.\n\n## Contact\n\nFor questions or feedback, please contact [chanbangay@gmail.com](mailto:chanbangay@gmail.com).\n# task-management-api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinchan-code%2Ftask-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinchan-code%2Ftask-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinchan-code%2Ftask-management-api/lists"}