Express-Server with Netlify functions

Hey @Frodo1980

I can see a couple of issues with the repository.

  1. You have set the functions directory in the netlify.toml to functions, but the api.js function is in src.
  2. You have set included_files to ["**.xlsX"] (note the uppercase X) though the filename is xlsx (all lowercase)
  3. included_files need to site under the [functions] section of the netlify.toml e.g.
    [functions]
      directory = "functions"
      [functions.api]
        included_files = ["src/*.xlsx"]
    
  4. included_files paths are “relative to the base directory”
  5. npm start won’t work with Netlify. You cannot have a listener, but it is possible to use express as outlined in How to run Express.js apps with Netlify Functions (you need to export a handler.)