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