Skip to content

Commit 15ce6b4

Browse files
authored
Update README.md
1 parent cce0a3a commit 15ce6b4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ This will start the server in development mode. By default, it will run on http:
158158

159159
Test the API endpoints using tools like Postman or Thunder Client.
160160

161+
Now for vercel Deployment:
162+
1. Login into vercel account
163+
2. Click on add project
164+
3. select `server` as root directory
165+
4. add this add env vars
166+
```
167+
MONGO_URI="mongodb+srv://<your_mongo_db_url>.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0"
168+
SECRET_KEY="THIS_IS_A_JWT_SECRET"
169+
```
170+
And server will deployed on vercel
161171

162172
<!-------------------------------------------------->
163173

0 commit comments

Comments
 (0)