|
| 1 | +# Clone the repo and rename this file to .env if you want to run the frontend react app locally for some quick contributions to the project. |
| 2 | +# When used as it is, this env config will connect to our hosted UAT backend |
| 3 | +# Note that any data in staging will get cleared from time to time and you may have to sign up again and again |
| 4 | + |
| 5 | +# Set CI to false while running the app locally |
| 6 | +CI=false |
| 7 | +# Set it to the URL form where the app home page will be accessed |
| 8 | +PUBLIC_URL=http://localhost:3000 |
| 9 | +# Set it to true if you want to generate the Sourcemap for debugging |
| 10 | +GENERATE_SOURCEMAP=false |
| 11 | +# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead) |
| 12 | +REACT_APP_SERVERURL=http://localhost:8080/app |
| 13 | +# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API. |
| 14 | +REACT_APP_APPID=opensignstgn |
| 15 | + |
| 16 | + |
| 17 | +# Backend ExpressJS config **************************************************************************************************************************************************************************************** |
| 18 | +# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App. |
| 19 | +APP_ID=opensignstgn |
| 20 | +# Name of the app. It will be visible in the verification emails sent out. |
| 21 | +appName=open_sign_server |
| 22 | +# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database. |
| 23 | +MASTER_KEY=XnAadwKxxByMr |
| 24 | +# Mongodb URI to connect to |
| 25 | +MONGODB_URI=mongodb://host.docker.internal:27017/OpenSignDB |
| 26 | +# Path on which APIs should be mounted. Do not change this. This variable shall be removed & value hardcoded in the source code in coming versions. |
| 27 | +PARSE_MOUNT=/app |
| 28 | +# Set it to the URL from where APIs will be accessible to the NodeJS functions, for local development it should be localhost:3000/api/app (use your local port number instead) |
| 29 | +SERVER_URL=http://127.0.0.1:8080/app |
| 30 | + |
| 31 | +# Storage config ************************************************************************************************************************************************************************************************ |
| 32 | +# Digital ocean space name or AWS S3 bucket name for uploading documents |
| 33 | +DO_SPACE=DOSPACENAME |
| 34 | +# Digital ocean spaces endpoint or AWS S3 endpoint for uploading documents |
| 35 | +DO_ENDPOINT=ams3.digitaloceanspaces.com |
| 36 | +# Digital ocean baseurl or AWS S3 base URL |
| 37 | +DO_BASEURL=https://DOSPACENAME.ams3.digitaloceanspaces.com |
| 38 | +# Digital ocean spaces access key ID or AWS s3 Access key ID for uploading the docs |
| 39 | +DO_ACCESS_KEY_ID= |
| 40 | +# Digital ocean spaces secret access key or AWS s3 secret access key for uploading the docs |
| 41 | +DO_SECRET_ACCESS_KEY= |
| 42 | +# Digital ocean spaces region or AWS s3 region |
| 43 | +DO_REGION=us-west |
| 44 | +# local storage |
| 45 | +USE_LOCAL=TRUE |
| 46 | + |
| 47 | +# Email mailgun config (The app will not initialize if any of these 3 variables are not set) ********************************************************************************************************************* |
| 48 | +MAILGUN_API_KEY=XXXXX |
| 49 | +MAILGUN_DOMAIN=mail.yourdomain.com |
| 50 | + |
| 51 | + |
| 52 | +# Base64 encoded PFX or p12 document signing certificate file ********************************************************************************************************************* |
| 53 | +PFX_BASE64= |
0 commit comments