diff --git a/public/app.css b/public/app.css new file mode 100644 index 0000000..e69de29 diff --git a/public/app.js b/public/app.js new file mode 100644 index 0000000..e69de29 diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..7e008fb --- /dev/null +++ b/public/index.html @@ -0,0 +1,11 @@ + + +
+ +See how instances did in comparisson to others
+ + diff --git a/server.js b/server.js index 7fdde51..2f2fca9 100644 --- a/server.js +++ b/server.js @@ -5,6 +5,8 @@ const client = new pg.Client({ database:"outcomes_tracker" }) +app.use(express.static('public')) + app.get('/instances', async (req, res)=>{ const instances = await client.query('SELECT * FROM instances'); res.json(instances.rows);