mirror of
https://github.com/xfarrow/blink
synced 2025-04-24 18:18:40 +02:00
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…
x
Reference in New Issue
Block a user