Skip to content

Commit 7a08c0e

Browse files
committed
feat: category filters,
1 parent 39ac8d6 commit 7a08c0e

97 files changed

Lines changed: 1434 additions & 267 deletions

Some content is hidden

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

backend/middlewares/authMiddleware.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const protect = async (req, res, next) => {
1212
req.user = await User.findById(decoded.id).select('-password');
1313
next();
1414
} catch (error) {
15-
console.error(error);
1615
res.status(401).json({ message: 'Token failed, not authorized' });
1716
}
1817
}

backend/server.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,4 @@ app.use((err, req, res, next) => {
3838

3939
const PORT = process.env.PORT || 5001;
4040

41-
app.listen(PORT, () => {
42-
console.log(`Server started on port ${PORT}`);
43-
});
41+
app.listen(PORT);

frontend/package-lock.json

Lines changed: 59 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"jwt-decode": "^4.0.0",
1616
"lucide-react": "^1.7.0",
1717
"react": "^19.2.4",
18-
"react-dom": "^19.2.4"
18+
"react-dom": "^19.2.4",
19+
"react-router-dom": "^7.14.0"
1920
},
2021
"devDependencies": {
2122
"@eslint/js": "^9.39.4",

frontend/public/shoes/shoe1.jpg

141 KB

frontend/public/shoes/shoe10.jpg

156 KB

frontend/public/shoes/shoe15.jpg

7.6 KB

frontend/public/shoes/shoe16.jpg

26.6 KB

frontend/public/shoes/shoe17.jpg

23.3 KB

frontend/public/shoes/shoe18.jpg

15.9 KB

0 commit comments

Comments
 (0)