traintimesPWA/server/db/connect.js
Martin Donnelly da2e92003f Twitter grabber
Tweets added to server
New svelte front end
2020-05-04 10:34:41 +01:00

6 lines
186 B
JavaScript

const sqlite3 = require('sqlite3').verbose();
console.log(`${__dirname}/../../db/twitter.db`);
const db = new sqlite3.Database(`${__dirname}/../../db/twitter.db`);
module.exports = db;