mirror of https://github.com/xfarrow/blink
Update api.js
This commit is contained in:
parent
0d2d6d16ac
commit
15f3f3993b
|
@ -5,10 +5,12 @@
|
||||||
|
|
||||||
|
|
||||||
const express = require('express');
|
const express = require('express');
|
||||||
|
const { Client } = require('pg');
|
||||||
|
const bcrypt = require('bcrypt');
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 3000;
|
const port = 3000;
|
||||||
|
|
||||||
const { Client } = require('pg');
|
|
||||||
|
|
||||||
// Middleware which parses JSON for POST requests
|
// Middleware which parses JSON for POST requests
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
Loading…
Reference in New Issue