This pull request sets up web app deployment to the crossword generator project using Pyodide and Webpack. We have also connected Supabase via the JavaScript Pyodide API. With this change, we will be able to deploy the crossword generator as a web app and use Python code to generate crossword puzzles in the browser.
Changes Made
Added webpack.config.js file to bundle the JavaScript and Python code
Added index.html file to serve as the entry point for the web app
Added index.js file with functions to generate crossword puzzles using Pyodide
Added loadpy.js file to load Pyodide in the browser
Registered supabase4js module with Pyodide
Connected Supabase via the JavaScript Pyodide API
Added example usage of Pyodide in index.js
Added exclusive package containing libraries dependant on the runtime.
Testing
Tested the web app deployment by running the bundled code in a local server
Verified that the crossword puzzles generated by the web app are correct
Description
This pull request sets up web app deployment to the crossword generator project using Pyodide and Webpack. We have also connected Supabase via the JavaScript Pyodide API. With this change, we will be able to deploy the crossword generator as a web app and use Python code to generate crossword puzzles in the browser.
Changes Made
webpack.config.js
file to bundle the JavaScript and Python codeindex.html
file to serve as the entry point for the web appindex.js
file with functions to generate crossword puzzles using Pyodideloadpy.js
file to load Pyodide in the browsersupabase4js
module with Pyodideindex.js
exclusive
package containing libraries dependant on the runtime.Testing
I autogenerated this lmao