Says Page Not found on Json API

I’ve read about other people that have faced this problem on this website but all don’t seem to work for me. I don’t know if it’s because my website doesn’t have a html file to diplay or what but this should work. Here’s the github repository I’m using, It’s meant to display Json as the index.js tells it. I don’t know what’s wrong because this works fine while hosting through Heroku. but I don’t want to use Heroku, I’ve just used it for now till i get this fixed then I can delete that. Files from that github repo are the only files I’m using as I loaded it from that repo.

Hi there,

Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

If you are still seeing issues after following the troubleshooting steps in this guide, please let us know!

Nope, It seems like the problem is because I’m using NodeJS and there isn’t an html file as Netlify seems to only host static websites. This is a Json API so It’s okay now that I know.

Hey Quertie,

I think that the Netlify Lambda repo is one of the best sources of knowledge for getting a function going on our platform. It should talk you through the necessary steps but we’d be happy to help further :+1: