1602 / 1602/kontroller

Unable to make it work with railyway-routes and expressjs

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
7
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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 ?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
express, javascript, nodejs
Ambito
api, backend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.