ngx-admin-bundle-support icon indicating copy to clipboard operation
ngx-admin-bundle-support copied to clipboard

Backend Starts but API Fails

Open JoeStagner opened this issue 4 years ago • 3 comments

npm install succeeds

if seems to work since the logger reports "

{"message":"MongoDB client has been successfully created","level":"info"}

http://localhost:3001/api returns - "Cannot GET /api"

but http://localhost:3001/ returns - "Hello World!"

Any suggestions ?

JoeStagner avatar Jul 18 '20 19:07 JoeStagner

Bump

JoeStagner avatar Jul 25 '20 21:07 JoeStagner

You won't, as the API location is a folder location which serves the POST/GET requests though Swagger - /api/swagger

enixlabs avatar Aug 18 '20 19:08 enixlabs

Just to add,as it might not be clear for all from the instructions.

Once you generate a token via login, when entering the authorization token it needs to be prefixed with bearer - that wasn't clear to me from the instructions

Bearer ABACACACAC123

stonesy88 avatar Feb 23 '21 23:02 stonesy88