You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this parameter you will need to open you account on MongoDB Atlas, don't forget to note down you account password, then create new cluster and through that you will get your connection string which will be your DB_URL in .env, make sure instead of "password" in connection string, you enter your own account password.
28
+
For this parameter you will need to open your account on MongoDB Atlas, don't forget to note down you account password, then create new cluster and through that you will get your connection string which will be your DB_URL in .env, make sure instead of "password" in connection string, you enter your own account password.
29
29
30
30
`EMAIL_HOST`,
31
31
`EMAIL_PORT`,
32
32
`EMAIL_USER`,
33
33
`EMAIL_PASS`
34
34
35
-
For these above parameters first you need to open an account on any SMTP server, we use mailtrap, then start testing where you will see show credentials in which you will get all the values we need which are host, port, username and password.
35
+
For these above parameters, first you need to open an account on any SMTP server, we use mailtrap, then start testing where you will see show credentials in which you will get all the values we need which are host, port, username and password.
36
36
37
37
You don't need to assign values to these parameters in double or single quotes, just write directly, .env automatically converts it into quoted string.
38
38
39
-
Once you are done with this, install the packages through `npm ci` which stands for clean install and run the server with `npm run serverstart` or `npm run serverstartWin` depending on your operating system.
39
+
Once you are done with this, install the packages through `npm ci` which stands for clean install.
40
+
Also, you need to run 'setup.js' file. You can do that by running following command in your terminal
41
+
```
42
+
node setup.js
43
+
```
44
+
And finally, run the server with `npm run serverstart` or `npm run serverstartWin` depending on your operating system.
0 commit comments