How can I publish an EJS project with Node Express on Netlify?I’ve tried directly drag the file but It shows page not found.
Drag and Drop is only for static sites, or pre-built sites (e.g. a React or Vue) that don’t require any further building of use of Netlify Functions, etc.
Have you tried deploying your site from git?
I am wondering how to upload from git,cuz there’s an NODE MODULES file which have a lot of files and cant be uploaded to Github.
You don’t push the
node_modules directory to git. You push the
package-lock.json (or yarn equivalents) and Netlify installs the modules during build.