-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IPFS signature to polls and votes
- Loading branch information
1 parent
2c219f7
commit 4e81a1f
Showing
11 changed files
with
9,722 additions
and
498 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 |
---|---|---|
|
@@ -28,3 +28,4 @@ yarn-error.log* | |
.vscode | ||
|
||
.idea | ||
.cosine |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
ATLAS_URI=#YOUR_MONGODB_URI | ||
PORT=#YOUR_NONDEFAULT_APP_PORT | ||
PORT=#YOUR_NONDEFAULT_APP_PORT | ||
NFT_STORAGE_KEY=XXXXXX #TokenFrom Nft.Storage |
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 @@ | ||
require("dotenv").config({ path: "./config.env" }); | ||
|
||
const AppConfig = { | ||
ServerPort: process.env.PORT || 5000, | ||
IPFS: { | ||
NFT_STORAGE_TOKEN: process.env.NFT_STORAGE_KEY, | ||
} | ||
} | ||
|
||
module.exports = AppConfig |
Oops, something went wrong.