Wipenote is an online service for secure delivery of disposable messages.
To take a look at the actual service, go to https://wipenotes.io.
The project uses the following technologies:
- Express.js and Typescript on the backend
- VueJS on the frontend
General directions:
- Run the server
- Set up a database
Install the dependencies:
npm i
Compile the assets and start a local server:
npm run start
The server will be available at http://localhost:3000
You can use the following databases:
- Google Cloud Storage [google-storage]
- S3-compatible storage [s3]
- Redis [redis]
If you want to change database type, set the DATABASE_TYPE
environment variable, and specify the additional configurations.
DATABASE_TYPE=google-storage
GOOGLE_STORAGE_KEYFILENAME=/app/googleStorageKeyFile.json
GOOGLE_STORAGE_BUCKET=breachreport-wipenote
where
GOOGLE_STORAGE_KEYFILENAME
- path to json key fileGOOGLE_STORAGE_BUCKET
- storage bucket name
DATABASE_TYPE=s3
S3_ACCESS_KEY_ID=0000000
S3_SECRET_ACCESS_KEY=000000
S3_REGION=uk-1
S3_ENDPOINT=https://s3.amazonaws.com
S3_BUCKET=bucket_name
S3_BASE_PATH=/uploads_wipenote
where
S3_ACCESS_KEY_ID
- access keyS3_SECRET_ACCESS_KEY
- secret keyS3_REGION
- region of storage placementS3_ENDPOINT
- endpoint url to access storageS3_BUCKET
- bucket nameS3_BASE_PATH
- base folder path for storing files
DATABASE_TYPE=redis
REDIS_HOST=localhost
REDIST_PORT=6379
REDIS_PASSWORD=password
where
REDIS_HOST
- redis server urlREDIS_PORT
- redis server portREDIS_PASSWORD
- redis server password