Make a script for writing the JSON file containing challenges into the SQL database. (Make a new JS file that exports the object in challenges.json, import that object into the script file).
Map
title to title
id to id
difficulty to difficulty
(outcome + key patterns + general description + usage scenarios) are to be made into a JS object, converted to string and put in the description column as text. Upon retrieval, we convert the json string back to js object.
Make a script for writing the JSON file containing challenges into the SQL database. (Make a new JS file that exports the object in
challenges.json
, import that object into the script file).Map
description
column as text. Upon retrieval, we convert the json string back to js object.