Add a Node.js backend serving static JSON files of available word lists.
Bug Fixes / Minor Changes
N/A
Why
The lists are not dynamic, would be changed very infrequently, and if being changed should be version-controlled. So they don't need to be stored in a database and can just be served as files that are stored with the backend itself.
How
This is a basic Express backend created using express-generator configured with no views so it can be set up as a REST API.
Each word list is a JSON file, along with a meta JSON file that returns the available lists. A GET request to the appropriate endpoint will send the JSON file.
Changes
Major Changes
Add a Node.js backend serving static JSON files of available word lists.
Bug Fixes / Minor Changes
N/A
Why
The lists are not dynamic, would be changed very infrequently, and if being changed should be version-controlled. So they don't need to be stored in a database and can just be served as files that are stored with the backend itself.
How
This is a basic Express backend created using express-generator configured with no views so it can be set up as a REST API.
Each word list is a JSON file, along with a meta JSON file that returns the available lists. A GET request to the appropriate endpoint will send the JSON file.
Notes
N/A