AI Features

Steps to Update the Langman API

Learn the steps for updating the Langman API.

Run server

First, we need to run it just as we did before, except that we need to specify the JWT_SECRET_KEY environment variable.

$ export FLASK_APP=server.app
$ export FLASK_ENV=dev_lite
$ export FLASK_JWT_SECRET_KEY=9876543210blastoff
$ pipenv run flask run --host=0.0.0.0 --port=3000

This terminal will now wait and report on communications to port 3000.

The POST method

We need to open a new terminal to play the ...