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
* Initial Fix
* Fixed multipage surveys
* update readme
* test csv
* Corrected numbering
The curr page is 1 forward.
* package-lock.json will cause install errors. Just keep package.json and then it will be auto generated
* Setting response insertion to have right type
* Adds completion stamp, queries supported in encrypted url
Co-authored-by: Sumant R Shringari <61118035+sumants-dev@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+10-18Lines changed: 10 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,27 +3,19 @@ Surveyor generates data driven surveys for online participants. It imports surve
3
3
4
4
## Development
5
5
Create an `.env` file in the root directory and add:
6
-
7
-
For local mongo development
6
+
Do not use any of the following config variables with KEY in production.
8
7
```PowerShell
9
8
PORT=4000
10
-
PROD=False
11
-
MONGO=True
12
-
TEST_URI=mongodb://localhost:27017/
9
+
PROD=FALSE
10
+
URI=mongodb://localhost:27017
13
11
TEST_DB=testDB
14
-
PROD_URI=nothing
15
-
PROD_DB=nothing
16
-
```
17
-
18
-
For local nedb development
19
-
```PowerShell
20
-
PORT=4000
21
-
PROD=False
22
-
MONGO=False
23
-
TEST_URI=nothing
24
-
TEST_DB=nothing
25
-
PROD_URI=nothing
26
-
PROD_DB=nothing
12
+
PROD_DB=prodDB
13
+
RANDOM=TESTISRANDOM
14
+
TOKEN_KEY=TESTISRANDOM
15
+
SECRET_KEY=TESTISRANDOM
16
+
ENCRYPT_KEY=TESTISRANDOM
17
+
IV_KEY=a0f5c2b327abb291c7cecdea1b2f8cc5
18
+
DOMAIN=http://localhost:4000/
27
19
```
28
20
29
21
Run `npm install` to install all dependencies. Run `npm test` to launch continuous Typescript compilation, watching for changes in any of the `ts` files. Leave this shell alone and, in a new one, run `npm start` to launch the application on the port in `.env`. With this setting it would start a server at [`localhost:4000`](http://localhost:4000).
0 commit comments