1602 / 1602/kontroller

Unable to make it work with railyway-routes and expressjs

Offen
#10 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
7
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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 ?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
express, javascript, nodejs
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.