{"id":19136739,"url":"https://github.com/wasswarichard/nestjs-react-redux-typescript-postgresql-docker","last_synced_at":"2026-04-06T21:32:16.215Z","repository":{"id":247810704,"uuid":"826908663","full_name":"wasswarichard/Nestjs-React-Redux-Typescript-Postgresql-Docker","owner":"wasswarichard","description":"Candidates Registration","archived":false,"fork":false,"pushed_at":"2024-08-18T10:05:59.000Z","size":1093,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T21:23:08.485Z","etag":null,"topics":["docker","docker-compose","jest","nestjs","nodejs","postresql","react","redux-toolkit","tailwindcss","typeorm","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/wasswarichard.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-07-10T16:09:59.000Z","updated_at":"2024-08-18T10:06:03.000Z","dependencies_parsed_at":"2024-07-10T19:52:54.386Z","dependency_job_id":"d4f3648d-e4d7-4928-a01f-6739653e39c9","html_url":"https://github.com/wasswarichard/Nestjs-React-Redux-Typescript-Postgresql-Docker","commit_stats":null,"previous_names":["wasswarichard/candidates","wasswarichard/nestjs-react-typescript-postgresql-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wasswarichard/Nestjs-React-Redux-Typescript-Postgresql-Docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2FNestjs-React-Redux-Typescript-Postgresql-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2FNestjs-React-Redux-Typescript-Postgresql-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2FNestjs-React-Redux-Typescript-Postgresql-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2FNestjs-React-Redux-Typescript-Postgresql-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasswarichard","download_url":"https://codeload.github.com/wasswarichard/Nestjs-React-Redux-Typescript-Postgresql-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2FNestjs-React-Redux-Typescript-Postgresql-Docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: 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":["docker","docker-compose","jest","nestjs","nodejs","postresql","react","redux-toolkit","tailwindcss","typeorm","typescript"],"created_at":"2024-11-09T06:35:27.182Z","updated_at":"2026-04-06T21:32:16.174Z","avatar_url":"https://github.com/wasswarichard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Candidates Registration\n\n## Libraries/Frameworks used\n\n- **Backend** : Nestjs, TypeScript, Typeorm, Jest, SuperTest, Postgres\n- **Frontend** : React, TypeScript, Taiwlind, Material UI, Jest, React Testing Library\n\n## Design decisions\n\n### Backend\n- API Design : The API is implemented [Nestjs](https://nestjs.com/). It supports offset-limit based pagination for the list of candidates.\n- Testing : All the Rest operations are tested using integration test cases using Jest and SuperTest.\n- Linting \u0026 Formatting : The codebase is linted using ESLint and formatted using Prettier.\n- Deployment : The Nestjs nodejs server can be dockerized and deployed in container orchestration platforms like Kubernetes or AWS EKS, ECS or Fargate.\n- Logging \u0026 Monitoring : The application logs and metrics can be logged and monitored in services like AWS CloudWatch or Datadog.\n\n### Frontend\n-  **Code Organisation** : The `components` directory contains all the reusable artifacts. The `pages` directory contain the navigable pages in the UI.\n-  **Testing** : The usecases are covered with integration testing using React testing library. The components have unit tests using Jest.\n-  **Component library** : Components and Grid system of [material-ui](https://material-ui.com/) is used.\n-  **Data Fetching** : [SWR Hook](https://swr.vercel.app/) is used with axios. SWR provides faster refresh and caching requests\n-  **Component styling** :Tailwind css, saas is used to styles the components and pages.\n-  **Linting \u0026 Formatting** : The default ESLint is used. Prettier for code formatting. husky and lint-staged are used as auxiliary library.\n\n## Further improvements\n- Adding Authentication to the backend and Frontend\n- Additional functionalities like the following can be implemented:\n    - Filtering and sorting support can be added to the API and the DataTable\n    - Switching to dark mode can be added. The useTheme() custom hook used in the code can be extended to implement this feature.\n- E2E test cases can be added using Cypress or playwright\n\n## To run locally\n\nClone the repository \n```bash\ngit clone https://github.com/wasswarichard/candidates\n```\ncd into the repository\n```bash\ncd candidates\n```\nInside the repository run\n```bash\ndocker-compose up --build\n```\n\nThe Backend server will start on \n```bash\nhttp://localhost:3001\n```\n\nThe Frontend Server will start on\n```bash\nhttp://localhost:5173\n```\n\n## Test cases snapshot\n\nBackend:\n\n![Snapshot of backend cases](./backend/docs/backend_e2e_test.png)\n\nFrontend:\n\n![Snapshot of backend cases](./frontend/docs/frontend_tests.png)\n\nThanks for your time :)\n\nUsing Kubernetes\nhttps://chatgpt.com/share/816ca144-62ba-4757-9130-008b3d924358\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasswarichard%2Fnestjs-react-redux-typescript-postgresql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasswarichard%2Fnestjs-react-redux-typescript-postgresql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasswarichard%2Fnestjs-react-redux-typescript-postgresql-docker/lists"}