Ken
Ken
KPCKevin Powell - Community
Created by greenleaf02 on 4/26/2024 in #back-end
trouble using express.js
How are you executing js file? What is its name? Your package.json file hints at a file named app.js If so, in your terminal (not a web browser) either of the following should start your express js server: node app.js …OR… npm run start if you get a “module not found “ error. Trying running’npm install’ first Once the server is running , then you can invoke your web server endpoint POST http://localhost:3000/aubmit-form
12 replies