Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"main": "index.js",
"type": "module",
"scripts": {
"start": "node server.js",
"dev": "node server.js"
"start": "nodemon server.js",
"dev": "nodemon server.js"
Comment on lines +8 to +9
Copy link

Copilot AI Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scripts use nodemon but it's not declared in dependencies/devDependencies in this package. Add nodemon as a devDependency (e.g., npm i -D nodemon) or revert scripts to node server.js.

Copilot uses AI. Check for mistakes.
},
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"cloudinary": "^1.41.2",
"cloudinary": "^1.41.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
Expand Down
4 changes: 2 additions & 2 deletions backend/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import app from "./app.js";
import cloudinary from "cloudinary";
import {v2 as cloudinary} from "cloudinary";

cloudinary.v2.config({
cloudinary.config({
cloud_name: process.env.CLOUDINARY_CLOUD_NAME, // CLOUDINARY_CLIENT_NAME
api_key: process.env.CLOUDINARY_API_KEY, // CLOUDINARY_CLIENT_API
api_secret: process.env.CLOUDINARY_API_SECRET, // CLOUDINARY_CLIENT_SECRET
Expand Down
Loading