node-express-boilerplate
node-express-boilerplate copied to clipboard
Not found 404 for all request
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.
Have you fixed this @mithang?
Oh, for note, you access all of them with prefix "v1"
Example:
localhost:3000/v1/users
localhost:3000/v1/register
etc
or updare ecosystem.config.json "NODE_ENV": "development"
i am having same issue - routes are returning 404 on a brand new repo via npx create-nodejs-express-app testAppName
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.