Skip to content

Commit 22e902d

Browse files
committed
change port
1 parent a943d93 commit 22e902d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ Step 4 - Create entry in `Users table`
5757
curl -H 'Content-Type: application/json' \
5858
-d '{"username": "mateo", "email": "[email protected]"}' \
5959
-X POST \
60-
http://localhost:5000/api/v1/users
60+
http://localhost:4000/api/v1/users
6161
```
6262

6363
Step 4 - Get all users
6464

6565
```bash
6666
curl -H 'Content-Type: application/json' \
67-
http://localhost:5000/api/v1/users
67+
http://localhost:4000/api/v1/users
6868
```

src/config/env.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const env = cleanEnv(process.env, {
1010
POSTGRES_PORT: port({ default: 5432 }),
1111
POSTGRES_DB: str(),
1212

13-
PORT: port({ default: 5000 }),
13+
PORT: port({ default: 4000 }),
1414

1515
JWT_SECRET: str(),
1616
FRONTEND_URL: url()

0 commit comments

Comments
 (0)