{"id":22266045,"url":"https://github.com/muhdhanish/node_solid_vitest","last_synced_at":"2026-05-09T01:05:09.616Z","repository":{"id":230690077,"uuid":"779904477","full_name":"MuhdHanish/node_solid_vitest","owner":"MuhdHanish","description":"Node Solid Server is a project aimed at demonstrating how to implement testing using the Vitest framework in a TypeScript-based Node.js project following clean architecture principles.","archived":false,"fork":false,"pushed_at":"2024-04-06T03:11:44.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T13:13:16.111Z","etag":null,"topics":["clean-architecture","eslint","nodejs","solid-principles","testing","typescript","vitest","vitest-ts"],"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/MuhdHanish.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-03-31T05:25:27.000Z","updated_at":"2024-04-09T01:55:53.000Z","dependencies_parsed_at":"2024-04-06T04:21:42.268Z","dependency_job_id":null,"html_url":"https://github.com/MuhdHanish/node_solid_vitest","commit_stats":null,"previous_names":["muhdhanish/node_solid_vitest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhdHanish%2Fnode_solid_vitest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhdHanish%2Fnode_solid_vitest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhdHanish%2Fnode_solid_vitest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuhdHanish%2Fnode_solid_vitest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuhdHanish","download_url":"https://codeload.github.com/MuhdHanish/node_solid_vitest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245476701,"owners_count":20621699,"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":["clean-architecture","eslint","nodejs","solid-principles","testing","typescript","vitest","vitest-ts"],"created_at":"2024-12-03T10:17:33.417Z","updated_at":"2026-05-09T01:05:04.586Z","avatar_url":"https://github.com/MuhdHanish.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Solid Server Vitest\n\nNode Solid Server is a project aimed at demonstrating how to implement testing using the Vitest framework in a TypeScript-based Node.js project following clean architecture principles.\n\n## Directory Structure\n\n- entities/\n  \n  ├── appointment.ts             # Entity definition for appointments\n  \n  ├── appointment.spec.ts        # Test file for appointment entity\n\n- repositories/\n  \n  ├── appointments-repository.ts      # Interface for appointments repository\n\n  ├── in-memory-appointments-repository.ts # In-memory implementation of appointments repository\n\n- use-cases/\n  \n  ├── create-appointment.ts      # Use case for creating appointments\n  \n  └── create-appointment.spec.ts # Test file for create-appointment use case\n\n- tests/\n  \n  ├── utils/\n  \n  │   ├── get-future-date.ts     # Utility function for getting future dates\n\n  │   └── get-future-date.spec.ts # Test file for get-future-date utility\n\n- package.json                   # Node.js package configuration file\n- package-lock.json              # Lock file for npm dependencies\n- tsconfig.json                  # TypeScript configuration file\n- vite.config.ts                 # Vite configuration file\n- .eslintrc.js                   # ESLint configuration file\n- README.md                      # Documentation for your project\n- .gitignore                     # Git ignore file to exclude certain files/directories\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Dependencies](#dependencies)\n- [Feedback](#feedback)\n- [Contributing](#contributing)\n- [Support](#support)\n\n## Installation\n\n1. Clone the repository.\n2. Run `npm install` to install dependencies.\n2. Run `npm run dev` to start testing.\n\n## Usage\n\nNode Solid Server can be used for:\n\n- Implementing and testing new features following clean architecture principles.\n- Writing tests using the Vitest framework to ensure the correctness of implemented features.\n- Executing tests with Vitest to validate the functionality of the application.\n- Integrating the project into larger Node.js applications to demonstrate effective structuring and testing practices.\n\n## Dependencies\n\n- `typescript`: A superset of JavaScript that adds static typing to the language.\n- `date-fns`: Modern JavaScript date utility library that provides various functions to work with dates\n- `eslint`: JavaScript and TypeScript linter.\n- `vitest`: Lightweight test runner for JavaScript and TypeScript.\n\n\n## Feedback\n\nIf you have any feedback, please reach me at [muhammedhanish11@gmail.com](mailto:muhammedhanish11@gmail.com) or connect with me on [LinkedIn](https://www.linkedin.com/in/muhdhanish/).\n\n## Contributing\n\nContributions are welcome! \n\n## Support\n\nShow your support by 🌟 the project!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhdhanish%2Fnode_solid_vitest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhdhanish%2Fnode_solid_vitest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhdhanish%2Fnode_solid_vitest/lists"}