Thanks a lot for the step-by-step guide.
I created a small rss reader with svelte/sapper, in which I have implemented a backend-api to get and delete a list representing the rss feed. How do I get the backend to work as well? Currently I get 404s.
For the purposes of handling all requests to the /api, i created an api.js:
Thanks a lot for the step-by-step guide.
I created a small rss reader with svelte/sapper, in which I have implemented a backend-api to get and delete a list representing the rss feed. How do I get the backend to work as well? Currently I get 404s.
For the purposes of handling all requests to the /api, i created an
api.js
:In my server.js I import the apiRouter form api.js and simply added it as middleware:
You can find the repo (branch) here: github.com/basti-n/rss-reader-sapp...