Skip to content

Commit

Permalink
Updated api service container in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lliillyy committed Nov 23, 2023
1 parent dff6d06 commit 8c36783
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ This container has the python file `api/model_backend.py` to run and expose the
To run the container locally:
* Open a terminal and go to the location where `src/api-service`
* Run `sh docker-shell.sh`
* The backend server is launched at `http://localhost:5000/`

We deployed a `/chat` endpoint with `POST` method.
We can interact with the endpoint through `http://127.0.0.1:5000/chat`
* The backend server is launched at `http://localhost:5000/` and `http://127.0.0.1:5000`
* Go to `http://127.0.0.1:5000/chat` to interact with the endpoint
* Go to `http://127.0.0.1:5000/apidocs` to view the APIs

### Frontend Container
This container contains all the files to develop and build a react app. There are dockerfiles for both development and production.
Expand Down

0 comments on commit 8c36783

Please sign in to comment.