{"id":24512402,"url":"https://github.com/ido-pluto/movement-home-assignment","last_synced_at":"2025-07-13T07:34:50.955Z","repository":{"id":219634147,"uuid":"749513824","full_name":"ido-pluto/movement-home-assignment","owner":"ido-pluto","description":"Simple API Server to manage user collection","archived":false,"fork":false,"pushed_at":"2024-01-29T09:14:35.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T10:11:18.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ido-pluto.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-01-28T19:44:31.000Z","updated_at":"2024-01-28T19:48:22.000Z","dependencies_parsed_at":"2024-01-28T20:50:22.326Z","dependency_job_id":"97804dba-52d8-437a-b97d-eea2d03b58c5","html_url":"https://github.com/ido-pluto/movement-home-assignment","commit_stats":null,"previous_names":["ido-pluto/movement-home-assignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ido-pluto/movement-home-assignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ido-pluto%2Fmovement-home-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ido-pluto%2Fmovement-home-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ido-pluto%2Fmovement-home-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ido-pluto%2Fmovement-home-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ido-pluto","download_url":"https://codeload.github.com/ido-pluto/movement-home-assignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ido-pluto%2Fmovement-home-assignment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265106290,"owners_count":23712303,"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":"2025-01-22T00:46:25.466Z","updated_at":"2025-07-13T07:34:50.885Z","avatar_url":"https://github.com/ido-pluto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Home Assignment \n\nCreate a simple API to manage a user collection.\n\n### Application Structure\n\n- api/routes/account\n    - auth.ts\n        - auth.controller.ts\n        - auth.model.ts\n\n    - user.ts\n        - user.controller.ts\n        - user.model.ts\n\n- database\n    - collection/account.ts\n    - populateDB.ts\n\n### Auth route\n\nCreate a user authenticated to access the `users` API.\n\nAuthentication is done using JWT (JSON Web Token).\n\n\n### Users route\n\nAPI to manage a user collection.\n\nYou must be authenticated to access this API.\n\n### Application Stack\n- Express\n- Mongoose\n- Typescript\n\n\n## Database\n\nThe database is MongoDB. On the first load of the application it will fetch the first 10 pages from the [reqres.in](https://reqres.in).\n\n## WebUI\n\nSimple HTML page to interact with the API available at `https://localhost/`\n\n## Running the project\n\n#### Directly\nMake sure you have MongoDB installed and running on your machine.\n```bash\nnpm install\nnpm run build\nnpm run start # with sudo if you using unix based system (port 443)\n```\n\n#### Docker\n```bash\ndocker-compose up\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fido-pluto%2Fmovement-home-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fido-pluto%2Fmovement-home-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fido-pluto%2Fmovement-home-assignment/lists"}