Skip to content

docs: replace default README with project-specific documentation#60

Open
sachin9919 wants to merge 2 commits into
tekdi:mainfrom
sachin9919:docs/improve-readme
Open

docs: replace default README with project-specific documentation#60
sachin9919 wants to merge 2 commits into
tekdi:mainfrom
sachin9919:docs/improve-readme

Conversation

@sachin9919
Copy link
Copy Markdown

Description

Replaced the default NestJS README with project-specific documentation.

Changes

  • Added project description
  • Added installation steps
  • Added environment configuration
  • Added project structure

Impact

Improves onboarding experience for new contributors.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7aa207f8-c99c-40a8-86d4-a628c4afdd1b

📥 Commits

Reviewing files that changed from the base of the PR and between 7f7eda7 and d644b92.

📒 Files selected for processing (1)
  • README.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • README.md

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Overhauled project README: removed template header/badges, replaced generic starter text with a “Shiksha Reports Service” overview.
    • Added Tech Stack, prerequisites, environment configuration example, run/test instructions, and simplified project structure.
    • Replaced support/author section with a contributing checklist and updated license to MIT.

Walkthrough

Replaced the default NestJS template README with a project-specific README for "Shiksha Reports Service", including tech stack, prerequisites, example .env, run/test commands, simplified project structure, contributing checklist, and updated license text. Removed template badges and logo.

Changes

Cohort / File(s) Summary
Documentation
README.md
Entire README replaced: removed template logo and badges; added project description, Tech Stack, Prerequisites, Environment Configuration (.env example with PORT, NODE_ENV), Running the Application (start:dev, build, start:prod), Running Tests (test, test:e2e, test:cov), simplified Project Structure (src/ subfolders), Contributing checklist, and updated License to MIT.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change—replacing the default NestJS README with project-specific documentation.
Description check ✅ Passed The description is directly related to the changeset, detailing the replacement of the NestJS README with project-specific content and documenting the added sections and their impact.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (4)
README.md (4)

81-86: Consider enhancing the contributing guidelines.

The contributing section provides basic git workflow steps. To improve the contributor experience, consider adding:

  • Code style and linting requirements (e.g., "Run npm run lint before committing")
  • Testing requirements (e.g., "Ensure all tests pass with npm run test")
  • Link to the issue tracker for finding tasks
  • Code of conduct reference (if applicable)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 81 - 86, Update the "Contributing" section to expand
beyond the basic git steps: add required code style/linting and testing commands
(e.g., mention running "npm run lint" and "npm run test" before committing),
include guidance on how to find work (link or reference to the issue tracker),
and add a link or brief note about the project's Code of Conduct; update the
README.md Contributing heading and bullet list to include these items so new
contributors see tooling, testing, and community expectations.

20-24: Expand the tech stack section with key dependencies.

The tech stack lists only the core framework. Consider adding:

  • Specific version ranges (e.g., "Node.js ≥18.x")
  • Database system (PostgreSQL, MongoDB, etc.) if applicable
  • Message queue/event system (Kafka, RabbitMQ, Redis) if the service uses event-driven architecture as mentioned in the description
  • Any other major dependencies that contributors need to be aware of
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 20 - 24, Update the "Tech Stack" section under the
"## Tech Stack" header to list specific version ranges and major dependencies:
add Node.js (e.g., "Node.js ≥18.x"), NestJS and TypeScript versions, the
database system used (e.g., PostgreSQL or MongoDB), any message queue/event
system (e.g., Kafka, RabbitMQ, Redis) referenced by the service, and other major
runtime or tooling dependencies (e.g., Docker, Prisma/TypeORM, Jest) so
contributors know exact requirements and compatibility.

71-77: Consider expanding the project structure for better onboarding.

The structure shows only top-level src/ subdirectories. For new contributors, it would be helpful to include:

  • Key entry points (e.g., main.ts, app.module.ts)
  • Configuration directory or files
  • Test directory structure
  • Important files like .env location, package.json, etc.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 71 - 77, Expand the Project Structure section to list
key entry points and important files: add lines naming main.ts and app.module.ts
under src/, a config/ directory (or config/*.ts files) and .env location, a
tests/ or __tests__/ directory pattern, and top-level files like package.json,
tsconfig.json, and README.md; update the example tree (the block under "Project
Structure") to include these entries so new contributors can quickly locate
application bootstrap (main.ts), module wiring (app.module.ts), configuration,
and tests.

15-16: Consider adding more specific details about the service's purpose.

The description is quite generic. For better onboarding, clarify what types of reports this service generates, what data sources it uses, and what specific problems it solves within the Shiksha ecosystem.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 15 - 16, Update the README's top-level description
for "Shiksha Reports" to be specific: replace the generic sentence about being a
NestJS-based service with a concise summary that names the types of reports
generated (e.g., student performance, attendance, enrollment trends), the
primary data sources (e.g., Postgres DB, Kafka events, external LMS APIs), who
consumes the reports (e.g., admins, district officers, dashboards), and the core
problems solved (e.g., automated scheduled exports, real-time alerting,
aggregated analytics). Also add one or two short example use-cases and mention
key integrations so readers can immediately understand purpose and scope.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 30: Update the README.md minimum Node.js requirement by replacing the
phrase "Node.js (v16 or higher)" with a currently supported LTS version
recommendation such as "Node.js (v18 or higher)" or "Node.js (v20 or higher)";
locate the exact text "Node.js (v16 or higher)" in README.md and change it to
the chosen supported LTS string, and optionally add a short parenthetical note
suggesting using the active LTS for security and compatibility.
- Around line 43-48: The README's Environment Configuration is incomplete;
create a .env.example file and expand the README to list and document every
environment variable the codebase requires (e.g., MONGO_URL, MONGO_DB_NAME, all
source/destination DB credential variables for
content/assessment/attendance/user/event tracking pairs,
MIDDLEWARE_SERVICE_BASE_URL, EXTERNAL_API_ENDPOINT, CONTENT_BASE_URL,
ASSESSMENT_BASE_URL, CRON_SCHEDULE, EXTERNAL_API_TIMEOUT, CRON_USE_CURRENT_DATE,
CRON_CUSTOM_DATE, GRAPH_EVENTS_LOG_SKIPPED, CRON_ENABLE_DETAILED_LOGGING,
CRON_LOG_API_RESPONSES, CONTENT_READ_COOKIE, PORT, NODE_ENV, etc.), marking
which are required vs optional, sensible defaults, example values and formats,
and any security notes (secrets vs non-secrets); ensure .env.example covers all
variables referenced across the codebase (search for those variable names and
any process.env uses) and update README's Environment Configuration to point to
.env.example and provide brief setup instructions.

---

Nitpick comments:
In `@README.md`:
- Around line 81-86: Update the "Contributing" section to expand beyond the
basic git steps: add required code style/linting and testing commands (e.g.,
mention running "npm run lint" and "npm run test" before committing), include
guidance on how to find work (link or reference to the issue tracker), and add a
link or brief note about the project's Code of Conduct; update the README.md
Contributing heading and bullet list to include these items so new contributors
see tooling, testing, and community expectations.
- Around line 20-24: Update the "Tech Stack" section under the "## Tech Stack"
header to list specific version ranges and major dependencies: add Node.js
(e.g., "Node.js ≥18.x"), NestJS and TypeScript versions, the database system
used (e.g., PostgreSQL or MongoDB), any message queue/event system (e.g., Kafka,
RabbitMQ, Redis) referenced by the service, and other major runtime or tooling
dependencies (e.g., Docker, Prisma/TypeORM, Jest) so contributors know exact
requirements and compatibility.
- Around line 71-77: Expand the Project Structure section to list key entry
points and important files: add lines naming main.ts and app.module.ts under
src/, a config/ directory (or config/*.ts files) and .env location, a tests/ or
__tests__/ directory pattern, and top-level files like package.json,
tsconfig.json, and README.md; update the example tree (the block under "Project
Structure") to include these entries so new contributors can quickly locate
application bootstrap (main.ts), module wiring (app.module.ts), configuration,
and tests.
- Around line 15-16: Update the README's top-level description for "Shiksha
Reports" to be specific: replace the generic sentence about being a NestJS-based
service with a concise summary that names the types of reports generated (e.g.,
student performance, attendance, enrollment trends), the primary data sources
(e.g., Postgres DB, Kafka events, external LMS APIs), who consumes the reports
(e.g., admins, district officers, dashboards), and the core problems solved
(e.g., automated scheduled exports, real-time alerting, aggregated analytics).
Also add one or two short example use-cases and mention key integrations so
readers can immediately understand purpose and scope.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: de992251-88a6-4dc0-8d70-56bfdeb0e727

📥 Commits

Reviewing files that changed from the base of the PR and between d1024a1 and 7f7eda7.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated
Comment thread README.md
@sachin9919
Copy link
Copy Markdown
Author

Hi, I have updated the README to improve project documentation and onboarding experience. Please let me know if any changes are required.

@sonarqubecloud
Copy link
Copy Markdown

@sachin9919
Copy link
Copy Markdown
Author

Hi, I have addressed the review comments and updated the README accordingly.

Please let me know if any further changes are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant