Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1c3a9e3
Update CodeQL actions to v3
Maphikza Jul 7, 2025
064789d
Add NIP-07 extension detection and improve production build config
Maphikza Jul 8, 2025
48bf8c3
Update README with correct development environment and startup instru…
Maphikza Jul 8, 2025
bae6228
Remove specific relay defaults to avoid favoring particular services
Maphikza Jul 8, 2025
dd222e3
Update architecture for integrated server deployment
Maphikza Jul 8, 2025
5b2bfd2
Fix nginx configuration for hybrid architecture
Maphikza Jul 8, 2025
488ebcc
Add panel routing to nginx configuration
Maphikza Jul 8, 2025
a4d38e5
Fix nginx configuration syntax error
Maphikza Jul 8, 2025
f569739
Update environment configurations for new architecture
Maphikza Jul 8, 2025
41bb5d5
Update .env.production.example to match new architecture
Maphikza Jul 8, 2025
635780e
Fix nginx configuration for panel routing
Maphikza Jul 8, 2025
b12a649
Make nginx configuration universal for all hosting services
Maphikza Jul 8, 2025
cd802c6
Revert to working nginx panel configuration
Maphikza Jul 8, 2025
69d1169
Fix wallet URL configuration to require explicit environment variable
Maphikza Jul 8, 2025
1d622bd
Add .env.production for deployment builds
Maphikza Jul 8, 2025
8c9876e
Fix relay URL configuration to require explicit environment variable
Maphikza Jul 9, 2025
c38c658
Update README to reflect current working deployment setup
Maphikza Jul 9, 2025
a7b6529
Simplify icon upload to use new backend API
Maphikza Jul 10, 2025
a7e321e
Add support for NIP-78, NIP-94, and NIP-117 event kinds
Maphikza Jul 10, 2025
ac42353
Make wallet configuration optional and add new event kinds
Maphikza Jul 10, 2025
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
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ REACT_APP_DEMO_MODE=false
REACT_APP_BASENAME=

# Nostr relay configuration for profile fetching
REACT_APP_OWN_RELAY_URL=ws://localhost:7000
REACT_APP_NOSTR_RELAY_URLS=wss://relay.damus.io,wss://relay.nostr.band,wss://relay.snort.social,wss://vault.iris.to
REACT_APP_OWN_RELAY_URL=ws://localhost:9001
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com,wss://your-relay3.com

# More info https://create-react-app.dev/docs/advanced-configuration
ESLINT_NO_DEV_ERRORS=true
Expand Down
23 changes: 23 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Production Environment Configuration
# Panel integrated into relay server

# Demo mode (set to false for production)
REACT_APP_DEMO_MODE=false

# Direct wallet service access
REACT_APP_WALLET_BASE_URL=

# Router configuration (empty since served from relay server root)
REACT_APP_BASENAME=
PUBLIC_URL=

# Asset serving configuration (optional - adjust for your domain)
# REACT_APP_ASSETS_BUCKET=https://your-domain.com

# Nostr relay configuration for profile fetching
REACT_APP_OWN_RELAY_URL=ws://localhost:9001
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com

# Development optimizations
ESLINT_NO_DEV_ERRORS=true
TSC_COMPILE_ON_ERROR=true
25 changes: 11 additions & 14 deletions .env.production.example
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
# Production Environment Configuration Example
# Copy this file to .env.production and update with your actual values

# API Base URLs - Update these to your actual backend URLs
REACT_APP_BASE_URL=https://your-domain.com/panel
REACT_APP_WALLET_BASE_URL=https://your-domain.com/wallet

# Asset serving configuration
REACT_APP_ASSETS_BUCKET=https://your-domain.com

# Demo mode (set to true for demo, false for production)
# Demo mode (set to false for production)
REACT_APP_DEMO_MODE=false

# Router basename - where your React app will be served from
# Use empty string for root path, or /admin, /dashboard, etc.
REACT_APP_BASENAME=/front
# Router configuration for /panel/ path (served through nginx)
REACT_APP_BASENAME=/panel
PUBLIC_URL=/panel

# Asset serving configuration (optional - adjust for your domain)
# REACT_APP_ASSETS_BUCKET=https://your-domain.com

# Public URL for static assets - should match REACT_APP_BASENAME
PUBLIC_URL=/front
# Nostr relay configuration for profile fetching
# REACT_APP_OWN_RELAY_URL= # ✅ Auto-detected from current domain
# REACT_APP_NOSTR_RELAY_URLS=wss://your-relay1.com,wss://your-relay2.com

# More info https://create-react-app.dev/docs/advanced-configuration
# Development optimizations
ESLINT_NO_DEV_ERRORS=true
TSC_COMPILE_ON_ERROR=true
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +56,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -69,4 +69,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
.env.development.local
.env.test.local
.env.production.local
.env.production


npm-debug.log*
yarn-debug.log*
Expand Down
Loading