1602 / 1602/kontroller

Unable to make it work with railyway-routes and expressjs

Đang mở
#10 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
7
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I am working on a sample expressapp with **railway-routes** and **kontroller**.

I am unable to make **railway-routes** work with kontroller here.

I keep getting `Handler not found error`

This is my [routes file](https://github.com/ktkaushik/railway_routes_example/blob/dev/routes.js) and this is the [stories_controller](https://github.com/ktkaushik/railway_routes_example/blob/dev/controllers/stories_controller.js) created with kontroller

Am i missing something here ?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Check the routes.js file to see how routes are defined and the stories_controller.js to see the handler structure. Look for mismatches in naming or export patterns. Run the example app to reproduce the 'Handler not found error' and trace through the kontroller library's handler resolution logic.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
express, javascript, nodejs
Lĩnh vực
api, backend
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.