node-express-boilerplate icon indicating copy to clipboard operation
node-express-boilerplate copied to clipboard

Not found 404 for all request

Open mithang opened this issue 3 years ago • 6 comments

Hi, I had clone your code, i have some problems when run code. All request 404 with path:

  • /
  • /api
  • /api/docs
  • /api/register and swagger How to fix them.

mithang avatar Jan 12 '22 11:01 mithang

Have you fixed this @mithang?

smileyhogue avatar Jan 23 '22 23:01 smileyhogue

Oh, for note, you access all of them with prefix "v1"

Example: localhost:3000/v1/users localhost:3000/v1/register

etc

adiatma85 avatar Feb 01 '22 05:02 adiatma85

or updare ecosystem.config.json "NODE_ENV": "development"

lakhveer avatar Feb 22 '22 11:02 lakhveer

i am having same issue - routes are returning 404 on a brand new repo via npx create-nodejs-express-app testAppName image

daskabe avatar Oct 17 '23 17:10 daskabe

Just tested this, if you clone and follow manual installation it works just fine however if you install by running npx create-nodejs-express-app appname then it fails.

roozjalali avatar Nov 10 '23 13:11 roozjalali