akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

Backend Starts but API Fails #82

Open JoeStagner opened 3 years ago

JoeStagner commented 3 years ago

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 commented 3 years ago

Bump

enixlabs commented 3 years ago

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

stonesy88 commented 3 years ago

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