Skip to content

Commit 8222774

Browse files
author
shahriarsajeeb
committed
final commit
1 parent 9a3378e commit 8222774

File tree

98 files changed

+0
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+0
-20
lines changed

backend/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const app = express();
44
const cookieParser = require("cookie-parser");
55
const bodyParser = require("body-parser");
66
const cors = require("cors");
7-
const path = require("path");
87

98
app.use(cors({
109
origin: ['https://eshop-tutorial-pyri.vercel.app',],
@@ -13,7 +12,6 @@ app.use(cors({
1312

1413
app.use(express.json());
1514
app.use(cookieParser());
16-
app.use("/", express.static(path.join(__dirname,"./uploads")));
1715
app.use("/test", (req, res) => {
1816
res.send("Hello world!");
1917
});

backend/controller/shop.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const express = require("express");
22
const path = require("path");
33
const router = express.Router();
4-
const fs = require("fs");
54
const jwt = require("jsonwebtoken");
65
const sendMail = require("../utils/sendMail");
76
const Shop = require("../model/shop");

backend/controller/user.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const express = require("express");
2-
const path = require("path");
32
const User = require("../model/user");
43
const router = express.Router();
54
const cloudinary = require("cloudinary");

backend/multer.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

backend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"js-cookie": "^3.0.1",
2424
"jsonwebtoken": "^9.0.0",
2525
"mongoose": "^7.0.0",
26-
"multer": "^1.4.5-lts.1",
2726
"nodemailer": "^6.9.1",
2827
"nodemon": "^2.0.20",
2928
"stripe": "^12.0.0"
Binary file not shown.
-560 KB
Binary file not shown.
-560 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1.25 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-254 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-76.9 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-509 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-12.8 KB
Binary file not shown.
-12.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-12.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-24.5 KB
Binary file not shown.
-24.5 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.
-24.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)