Skip to content

Commit 50acf15

Browse files
committed
2 parents d5c8a0a + ef3b82e commit 50acf15

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ A web application for tracking personal finances with React, shadcn/ui, and Mong
55

66
## Setup Instructions
77

8+
## run entire setup
9+
```
10+
npm i
11+
npm run dev
12+
```
13+
14+
or
15+
816
### Frontend
917
1. Install dependencies:
1018
```

server/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ const transactionRoutes = require('./routes/transactionRoutes');
77
dotenv.config();
88

99
const app = express();
10-
const PORT = process.env.PORT || 3000;
11-
const MONGODB_URI = process.env.MONGODB_URI || 'mongodb+srv://vedp5585:[email protected]/finance-tracker?retryWrites=true&w=majority&appName=Cluster0';
10+
11+
const PORT = process.env.PORT || 3000;//this will be updated with env file just for test
12+
const MONGODB_URI = process.env.MONGODB_URI || '';
1213

1314
// Middleware
1415
app.use(cors());

0 commit comments

Comments
 (0)