Back to list
CheekyCodexConjurer

create-backend-service

by CheekyCodexConjurer

AERA: local-first workstation for quantitative research, visualization, and backtesting.

0🍴 0📅 Jan 6, 2026

SKILL.md


name: Create Backend Service description: Use this skill when adding new backend functionality (API endpoints + business logic).

Create Backend Service

Use this skill to follow the route (controller) + service split used in server/src/.

Steps

  1. Create the service module
  • Location: server/src/services/{serviceName}.js
  • Use template_service.js from this folder.
  • Prefer small exported functions (keep them easy to test).
  1. Create the route module
  • Location: server/src/routes/{routeName}.js
  • Use template_route.js from this folder.
  • Validate inputs near the route (or use server/src/contracts/httpSchemas.js when applicable).
  1. Mount the route
  • Register it in server/src/index.js:
    • app.use('/api/your-scope', yourRouter);

Naming notes

  • Prefer existing naming patterns:
    • Routes: dataRoutes.js, runRoutes.js, indicatorExecutionRoutes.js
    • Services: marketWindowService.js, leanService.js, runStore.js

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon