Update api.js

This commit is contained in:
xfarrow 2023-09-27 12:47:27 +02:00
parent 0d2d6d16ac
commit 15f3f3993b
1 changed files with 3 additions and 1 deletions

View File

@ -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());