Skip to content

Commit de1a6ca

Browse files
authored
Update README.md
1 parent cd19a2d commit de1a6ca

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,28 +175,37 @@ git push -u origin <your_branch_name>
175175

176176
Congratulations🎉, you have made a PR to the VigyBag. Wait for your submission to be accepted and your PR to be merged by a maintainer.
177177

178-
## 🦄 Django Project Setup: For Backend Developers
178+
## Node.js Project Setup: For Backend Developers
179179

180180
**1.** Navigate to the project directory Backend Code.
181181

182182
```bash
183183
cd Backend Code
184184
```
185185

186-
**2.** Navigate to the project directory VigyBag.
186+
**2.** Install dependencies.
187187

188188
```bash
189-
cd VigyBag
189+
npm install
190+
```
191+
**3.** Start the development server.
192+
193+
```bash
194+
npm run dev
190195
```
191-
**3.** If you get manage.py in the file structure then run this command.
196+
**4.** Start in production mode.
192197

193198
```bash
194-
python manage.py runserver
199+
npm start
195200
```
196201

197-
### 🦄 Django Admin Authentificaion
202+
### 🛠️ Environment Variables
203+
Create a .env file in the root directory with the following (example):
204+
198205
```bash
199-
later on...
206+
PORT=5000
207+
MONGO_URI=your_mongodb_connection_string
208+
JWT_SECRET=your_secret_key
200209
```
201210

202211
## ⚛️ React Project Setup

0 commit comments

Comments
 (0)