{"id":22904125,"url":"https://github.com/mrcoder57/vrvassignment","last_synced_at":"2025-04-01T07:57:14.995Z","repository":{"id":266397446,"uuid":"897087302","full_name":"mrcoder57/vrvAssignment","owner":"mrcoder57","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-04T03:49:29.000Z","size":531,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T02:41:31.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vrv-assignment-three-alpha.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/mrcoder57.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-12-02T02:05:32.000Z","updated_at":"2024-12-04T03:49:32.000Z","dependencies_parsed_at":"2024-12-04T04:27:32.590Z","dependency_job_id":"e24aac8b-28c1-4e3d-971a-4805ce26ecf9","html_url":"https://github.com/mrcoder57/vrvAssignment","commit_stats":null,"previous_names":["mrcoder57/vrvassignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcoder57%2FvrvAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcoder57%2FvrvAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcoder57%2FvrvAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrcoder57%2FvrvAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrcoder57","download_url":"https://codeload.github.com/mrcoder57/vrvAssignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237591988,"owners_count":19335232,"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":[],"created_at":"2024-12-14T02:40:18.572Z","updated_at":"2025-02-07T04:34:45.665Z","avatar_url":"https://github.com/mrcoder57.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User Management System\n\n## Project Overview\n\nThis project is a **User Management System** designed to handle user creation, editing permissions, searching, and filtering based on roles and permissions. It supports authentication via login (JWT tokens) and allows users to perform actions according to their assigned roles and permissions.\n\n---\n\n## Features\n\n### 1. **Create Users**\n   - Admin users can create new users by providing details such as name, email, role, and permissions.\n   - Roles include **Admin**, **User**, and **Moderator**, each with different levels of access.\n\n### 2. **Edit Permissions**\n   - Admins can edit the permissions of existing users, giving them control over what actions the users can perform within the application.\n\n### 3. **Filters \u0026 Search**\n   - The system supports dynamic filters based on roles, permissions, or search queries like name and email.\n   - Admins can quickly find users based on different criteria (e.g., role, email, name).\n\n### 4. **Roles with Defined Permissions**\n   - Users are categorized by roles such as **Admin**, **User**, and **Moderator**.\n   - Each role comes with specific permissions (e.g., admin can manage users, user can only view content).\n\n### 5. **Login System (API)**  \n   - The application includes a login API (`/api/login/route.ts`) that authenticates users based on predefined credentials.\n   - Upon login, users receive a JWT token and their permissions are assigned based on their roles.\n\n---\n\n## Project Setup Instructions\n\n### Prerequisites:\n- **Node.js** (version 16 or higher)\n- **npm** or  (package manager)\n\n\n### Step 1: Clone the repository\nClone the project to your local machine:\n\n```bash\ngit clone https://github.com/yourusername/project-name.git\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcoder57%2Fvrvassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrcoder57%2Fvrvassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrcoder57%2Fvrvassignment/lists"}