This is a template for a simple Deno webapp project using Oak.
This is the starter project for Web App assignment in the Javascript + OpenAI course.
.vscode configuration files for VS Code
src JavaScript source files
src/shared JS+OAI shared library code
.env-template template for .env file, which will hold your API keys
.gitignore tells git which files to ignore
README.md this file, info about the repo
From the command line confirm that your current working directory is the root of the project.
pwdOption 1: run the app directly
deno run -A src/main.jsOption 2: use the tesk defined in deno.json
deno task startWhen you are done, shut it down by typing ctrl-c in the terminal.
error: AddrInUse: Address already in use This error can happen if your app exits without properly closing the server . You can fix this by killing the process that is using the port.
kill -9 $(lsof -t -i:8000)