This project is a simplified, custom-built Node.js framework in TypeScript, created for testing and demonstration purposes with the Roo Code extension for Visual Studio Code, powered by the Gemini Pro agent.
The primary goal of this project is to showcase the capabilities of AI-assisted development in a real-world scenario, including code generation, refactoring, documentation, and testing.
Note: The author intentionally did not write or debug any line of code manually. The entire project was created and managed by the AI agent through natural language commands.
Clone the repository and install the dependencies:
git clone <repository_url>
cd <project_directory>
npm install
Start the application:
npm start
The server will be running at http://localhost:3000
.
You can run tests and generate coverage reports using the following commands:
Run all tests:
npm test
Generate coverage report for src
:
npm run coverage:src
Generate coverage report for lib
:
npm run coverage:lib
The project is divided into two main parts:
lib/
: Contains the core framework logic (DI container, router, security, etc.).src/
: Contains the application-specific logic (controllers, services, repositories).You can find detailed documentation and test coverage reports via the links below:
src
): ./docs/src/index.htmllib
): ./docs/lib/index.htmlsrc
): ./reports/index.htmllib
): ./reports-lib/index.htmlScope | Statements | Branches | Functions | Lines |
---|---|---|---|---|
src |
55.38% | 19.64% | 53.26% | 51.65% |
lib |
81.09% | 67.7% | 88.4% | 79.24% |
This project was developed with the assistance of Roo Code and Gemini Pro.