{"id":20503214,"url":"https://github.com/fu-ry17/agencify-assessment","last_synced_at":"2026-04-13T03:02:31.116Z","repository":{"id":210396960,"uuid":"726458970","full_name":"fu-ry17/agencify-assessment","owner":"fu-ry17","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-03T13:59:39.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T07:30:22.975Z","etag":null,"topics":["docker","docker-compose","expressjs","nodejs","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","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/fu-ry17.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":"2023-12-02T13:13:43.000Z","updated_at":"2023-12-10T13:49:10.000Z","dependencies_parsed_at":"2025-01-16T07:26:54.233Z","dependency_job_id":"0963d23b-c017-45c4-a299-998dafa1721c","html_url":"https://github.com/fu-ry17/agencify-assessment","commit_stats":null,"previous_names":["fu-ry17/agencify-assessment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-ry17%2Fagencify-assessment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-ry17%2Fagencify-assessment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-ry17%2Fagencify-assessment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fu-ry17%2Fagencify-assessment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fu-ry17","download_url":"https://codeload.github.com/fu-ry17/agencify-assessment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242100027,"owners_count":20071647,"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":["docker","docker-compose","expressjs","nodejs","reactjs","typescript"],"created_at":"2024-11-15T19:29:43.532Z","updated_at":"2026-04-13T03:02:31.047Z","avatar_url":"https://github.com/fu-ry17.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assessment\n\n## Tech Stack\n\n### Frontend\n- **React.js**\n\n### Backend\n- **Node.js**\n- **Express**\n\n### Database\n- **SQLite**\n\n### Source Code\n[GitHub Repository](https://github.com/fu-ry17/agencify-assessment)\n\n## Installation (Both Server \u0026 Frontend)\n\n1 . To set up the server and frontend, follow the steps below:\n\n1. **Navigate to the frontend/backend directory:**\n    ```bash\n    cd frontend/backend\n    ```\n\n2. **Install dependencies:**\n    ```bash\n    pnpm install\n    ```\n\n3. **Start the server (both backend and frontend):**\n    ```bash\n    pnpm dev\n    ```\n\n2 . Using Docker (run this in the root directory)\n ```bash\n   docker-compose -f docker-compose.dev.yml up --build -d\n ```\n ``` bash \n   docker ps -a # check all the running containers and the ports\n ```\n\n3 . Running Tests\n```bash\n  cd server\n  pnpm test\n```\n\n## API Endpoints\n\n### Health Check\n\n- **Endpoint:**\n    - `/api/health-check`\n\n- **Description:**\n    - Returns a simple health check response.\n\n- **Response:**\n    ```json\n    { \"msg\": \"Hello health check route\" }\n    ```\n\n### Customers\n\n- **Endpoint:**\n    - `/api/customers`\n\n- **Description:**\n    - Returns a list of all customers.\n\n- **Response Example:**\n    ```json\n    [\n      {\n        \"id\": 31,\n        \"name\": \"JACKSON NELLY\",\n        \"phone\": \"(256) 7750694430\",\n        \"country\": \"Uganda\",\n        \"state\": \"valid\"\n      },\n    ]\n    ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffu-ry17%2Fagencify-assessment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffu-ry17%2Fagencify-assessment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffu-ry17%2Fagencify-assessment/lists"}