{"id":22235560,"url":"https://github.com/navaneeth-21/worko-user-management-api","last_synced_at":"2026-04-10T15:05:49.853Z","repository":{"id":246260773,"uuid":"820568053","full_name":"Navaneeth-21/Worko-User-Management-API","owner":"Navaneeth-21","description":"This is an user management API which consists of all api requests that can be send to user using postman or any api request extensions. In this each api request is authenticated using JWT . The testing was done by using jest and supertest tools and the data validation is done by a joi module.","archived":false,"fork":false,"pushed_at":"2024-07-26T14:41:21.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T08:43:29.444Z","etag":null,"topics":["jest","joi-validation","jwt","mongodb","mongoose","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Navaneeth-21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-26T18:22:41.000Z","updated_at":"2024-10-27T16:31:11.000Z","dependencies_parsed_at":"2024-06-26T23:06:41.582Z","dependency_job_id":"cdfbd60c-6c63-423b-9ba9-46c48346da81","html_url":"https://github.com/Navaneeth-21/Worko-User-Management-API","commit_stats":null,"previous_names":["navaneethgade07/worko_backend_api_setup","navaneethgade07/worko-user-management-api","navaneeth-21/worko-user-management-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navaneeth-21%2FWorko-User-Management-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navaneeth-21%2FWorko-User-Management-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navaneeth-21%2FWorko-User-Management-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Navaneeth-21%2FWorko-User-Management-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Navaneeth-21","download_url":"https://codeload.github.com/Navaneeth-21/Worko-User-Management-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245433467,"owners_count":20614483,"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":["jest","joi-validation","jwt","mongodb","mongoose","rest-api"],"created_at":"2024-12-03T02:13:43.885Z","updated_at":"2025-12-30T21:25:20.730Z","avatar_url":"https://github.com/Navaneeth-21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Worko API\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- MongoDB\n- jest\n- supertest\n- JWT\n- joi(validation)\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/navaneethgade07/Worko_Backend_api_setup.git\n    cd worko\n    ```\n\n2. Install dependencies:\n    ```sh\n    npm install\n    ```\n\n3. Create a `.env` file in the root directory with the following content:\n    ```env\n    PORT=3000\n    DB_URL=mongodb://localhost:27017/worko\n    JWT_SECRET=your_secret_key\n    ```\n\n4. Start the server:\n    ```sh\n    npm start\n    ```\n\n5. Api requests :\n    - Send all api requests using postman or thunderclient extension in vscode.\n    - For **POST** request send the required details to create a user.\n    - For **GET** request(listallusers) you can retrieve the all the user details in the database.\n    - For **GET** request(getuser) to retrieve a user by its userID.\n    - **PUT** request to replace the whole existing data with the updated data.\n    - **PATCH** request to update the existing data with the optional data.\n    - **DELETE** request to soft delete a user by it's userID.\n\n### Running Tests\n\n```sh\nnpm test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavaneeth-21%2Fworko-user-management-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavaneeth-21%2Fworko-user-management-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavaneeth-21%2Fworko-user-management-api/lists"}