To run the app:
deno run --allow-read --allow-env --allow-net server.ts
To run the unit test:
deno test --allow-net
MySQL@5.7
Table schema:
DROP TABLE IF EXISTS `todos`;
CREATE TABLE IF NOT EXISTS `todos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`task` text NOT NULL,
`done` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
DATABASE_HOST=localhost
DATABASE_NAME=
DATABASE_USER=root
DATABASE_PASSWORD=
DATABASE_PORT=3306
DATABASE_NAME=
GitHub integration using https://dash.deno.com/