Skip to content

HTTP 404: "Cannot GET /" #22

@SimonAlling

Description

@SimonAlling
$ git clone https://github.com/vrudikov/typescript-rest-boilerplate
$ cd typescript-rest-boilerplate/
$ npm install
$ npm run swagger
$ npm run build
$ docker-compose up -d

This works fine.

$ docker ps
CONTAINER ID        IMAGE                                                     COMMAND                  CREATED             STATUS              PORTS                      NAMES
2977545f512e        typescript-rest-boilerplate_typescript-rest-boilerplate   "docker-entrypoint.s…"   4 minutes ago       Up 4 minutes        0.0.0.0:3000->3000/tcp     typescript-rest-boilerplate_typescript-rest-boilerplate_1
ce8bbe5d18fe        mongo:latest                                              "docker-entrypoint.s…"   4 minutes ago       Up 4 minutes        0.0.0.0:27017->27017/tcp   typescript-rest-boilerplate_mongo_1

But when I go to http://127.0.0.1:3000 (as suggested under UI Test), I get a 404 response with this body:

Cannot GET /

I expected a clearer indication that the service is up and running; should I?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions