Skip to content

Commit 365123a

Browse files
committed
fix: Readme
1 parent d2c36f2 commit 365123a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Start the server:
5959

6060
```bash
6161
npm start
62-
# Server will run on http://localhost:1234
62+
# Server will run on http://urbackend.bitbros.in
6363
```
6464

6565
### 2. Frontend Setup
@@ -72,7 +72,7 @@ npm install
7272
Update `frontend/src/config.js` (if necessary):
7373

7474
```javascript
75-
export const API_URL = 'http://localhost:1234';
75+
export const API_URL = 'http://urbackend.bitbros.in';
7676
```
7777

7878
Start the client:
@@ -91,7 +91,7 @@ Once your project is created in the dashboard, use your **Public API Key** to ma
9191
**Insert Data:**
9292

9393
```javascript
94-
await fetch('http://localhost:1234/api/data/products', {
94+
await fetch('http://urbackend.bitbros.in/api/data/products', {
9595
method: 'POST',
9696
headers: {
9797
'Content-Type': 'application/json',
@@ -108,7 +108,7 @@ await fetch('http://localhost:1234/api/data/products', {
108108
**Fetch Data:**
109109

110110
```javascript
111-
const res = await fetch('http://localhost:1234/api/data/products', {
111+
const res = await fetch('http://urbackend.bitbros.in/api/data/products', {
112112
headers: { 'x-api-key': 'YOUR_API_KEY' }
113113
});
114114
const data = await res.json();
@@ -119,7 +119,7 @@ const data = await res.json();
119119
**Register User:**
120120

121121
```javascript
122-
await fetch('http://localhost:1234/api/userAuth/signup', {
122+
await fetch('http://urbackend.bitbros.in/api/userAuth/signup', {
123123
method: 'POST',
124124
headers: {
125125
'Content-Type': 'application/json',
@@ -140,7 +140,7 @@ await fetch('http://localhost:1234/api/userAuth/signup', {
140140
const formData = new FormData();
141141
formData.append('file', fileInput.files[0]);
142142

143-
const res = await fetch('http://localhost:1234/api/storage/upload', {
143+
const res = await fetch('http://urbackend.bitbros.in/api/storage/upload', {
144144
method: 'POST',
145145
headers: { 'x-api-key': 'YOUR_API_KEY' },
146146
body: formData

0 commit comments

Comments
 (0)