mirror of
https://github.com/xfarrow/blink
synced 2025-04-13 16:41:59 +02:00
Add some comments
This commit is contained in:
parent
b983342cee
commit
294daaa6a6
@ -3,11 +3,16 @@
|
|||||||
** licensed under GPLv3
|
** licensed under GPLv3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// require() always returns a function
|
||||||
const express = require('express');
|
const express = require('express');
|
||||||
const bcrypt = require('bcrypt');
|
const bcrypt = require('bcrypt');
|
||||||
const { Pool } = require('pg');
|
const { Pool } = require('pg');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
||||||
|
// We can do express() because the express
|
||||||
|
// module exports a function. Exporting a function
|
||||||
|
// means making a JavaScript function defined in one
|
||||||
|
// module available for use in another module.
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 3000;
|
const port = 3000;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user