Back to Home

Run code

Set up

Create virtual environment

Install dependencies

Run API

Test API

Visit the interactive API documentation at: http://localhost:5000/docs

Run frontend

Make sure you stand in the frontend folder Locate app.js, change BASE_URL to that of your backend URL Run it Try typing a message in the chat, you should see a response (providing you're running this in a Codespace or have set up a access token).

Set up access token (if you don't run this in a Codespace)

See Set up PAT

python -m venv venv
source ./venv/bin/activate
Example:

Follow the lesson from Microsoft Web-Dev-For-Beginners course

Tags: web,development