Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
PORT=5000
MONGO_URI="ENTER YOUR MONGODB_URI"
JWT_SECRET="your-jwt-secret-key-here"
JWT_REFRESH_SECRET="your-jwt-refresh-secret-key-here"
JWT_EXPIRES_IN=15m
EMAIL_HOST="smtp.gmail.com"
EMAIL_PORT=587
EMAIL_USER="[email protected]"
EMAIL_PASS="your-app-password"
STELLAR_HORIZON_URL="https://horizon-testnet.stellar.org"
STELLAR_NETWORK="testnet"
NODE_ENV=development
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import js from "@eslint/js";
import globals from "globals";
import { defineConfig } from "eslint/config";

export default defineConfig([
{
files: ["**/*.{js,mjs,cjs}"],
plugins: { js },
extends: ["js/recommended"],
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
},
rules: {
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
},
{
files: ["**/*.test.js", "**/*.spec.js", "**/__tests__/**/*.js"],
languageOptions: {
globals: {
...globals.jest,
...globals.node
}
}
},
{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
]);
Loading