Update server.js
Browse files
server.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
|
6 |
const app = express();
|
7 |
const PORT = 3001;
|
|
|
1 |
+
import express from "express"
|
2 |
+
import cors from 'cors'
|
3 |
+
import yahooFinance from 'yahoo-finance2'
|
4 |
+
import {fetch} from "node-fetch"
|
5 |
|
6 |
const app = express();
|
7 |
const PORT = 3001;
|