-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,034 additions
and
3,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
TEST=test | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# App port to run on | ||
PORT=3000 | ||
|
||
# The domain that this website is on | ||
DEFAULT_DOMAIN="kutt.it" | ||
|
||
# Neo4j database credential details | ||
DB_URI="bolt://localhost" | ||
DB_USERNAME= | ||
DB_PASSWORD= | ||
|
||
# Redis host and port | ||
REDIS_DISABLED=false | ||
REDIS_HOST="127.0.0.1" | ||
REDIS_PORT=6379 | ||
REDIS_PASSWORD= | ||
|
||
# The daily limit for each user | ||
USER_LIMIT_PER_DAY=50 | ||
|
||
# A passphrase to encrypt JWT. Use a long and secure key. | ||
JWT_SECRET=securekey | ||
|
||
# Admin emails so they can access admin actions on settings page | ||
# Comma seperated | ||
ADMIN_EMAILS= | ||
|
||
# Invisible reCaptcha secret key | ||
# Create one in https://www.google.com/recaptcha/intro/ | ||
RECAPTCHA_SITE_KEY=6LdVeUYUAAAAAAPX2XAH71soH8xVPrMjpIR3pE8f | ||
RECAPTCHA_SECRET_KEY= | ||
|
||
# Google Cloud API to prevent from users from submitting malware URLs. | ||
# Get it from https://developers.google.com/safe-browsing/v4/get-started | ||
GOOGLE_SAFE_BROWSING_KEY= | ||
|
||
# Google Analytics tracking ID for universal analytics. | ||
# Example: UA-XXXX-XX | ||
GOOGLE_ANALYTICS= | ||
|
||
# Your email host details to use to send verification emails. | ||
# More info on http://nodemailer.com/ | ||
# Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER | ||
MAIL_HOST= | ||
MAIL_PORT=587 | ||
MAIL_SECURE= | ||
MAIL_USER= | ||
MAIL_FROM= | ||
MAIL_PASSWORD= | ||
|
||
# The email address that will receive submitted reports. | ||
REPORT_MAIL= | ||
|
||
# Support email to show on the app | ||
CONTACT_EMAIL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.env | ||
.vscode/ | ||
client/.next/ | ||
node_modules/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const { parsed: localEnv } = require('dotenv').config(); | ||
const webpack = require('webpack'); // eslint-disable-line | ||
|
||
module.exports = { | ||
webpack(config) { | ||
config.plugins.push(new webpack.EnvironmentPlugin(localEnv)); | ||
|
||
return config; | ||
}, | ||
}; |
Oops, something went wrong.