Relative Content

Tag Archive for expressrestservicefeathersjsfeathers-sequelize

Feathers.js (Express.js) service doesnt’ work as REST

I’m setting up a little website using an Adaptable.io template to use on their service, but it uses frameworks i don’t have knowledge (for ref, it’s this package here https://adaptable.io/docs/starters/feathers-chat-starter).
I managed to set up a couple of pages in react and a working “/images” service with sequelize . This service work alright with a websocket, but i would like to use it internally as a REST endpoint to perform insert operations without having to create an ad-hoc webpage. However, GET requests with postman on localhost:5050/images return html code event with Content-type: application/json, and the log doesn’t show any query operation. I’ll enclose app.js code for configuration, together with the service files: