Rename server.js to app.js
Browse files- server.js β app.js +4 -4
server.js β app.js
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
|
6 |
const app = express();
|
7 |
const PORT = 3001;
|
|
|
1 |
+
const express = require('express');
|
2 |
+
const cors = require('cors');
|
3 |
+
const yahooFinance = require('yahoo-finance2').default;
|
4 |
+
const fetch = require('node-fetch');
|
5 |
|
6 |
const app = express();
|
7 |
const PORT = 3001;
|