A TODO web application written for a class project.
- Create an account at https://jsonbin.io/
- Create a bin with e.g. the following content (JSONBin forbids creation of empty bins):
[ { "title": "foo", "description": "bar", "place": "baz", "dueDate": "1970-01-01" } ] - At the project's top directory, create a
key.jsfile with the following content:whereconst BASE_URL = "https://api.jsonbin.io/v3/b/<bin-id>"; const SECRET_KEY = "<x-master-key>";
<bin-id>is the ID of the bin that was created in step 2, and<x-master-key>is an API Key assigned to an account created in step 1. - Go to
file://<path-to-index-html>, where<path-to-index-html>is the absolute path to the project'sindex.htmlfile, e.g./home/user/dev/todo-app/index.html. Alternatively, click on this file from within file explorer.
