Skip to content

Commit

Permalink
LNURL Auth setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismail-Mouyahada committed Aug 28, 2024
1 parent d04a20d commit 4c031b2
Show file tree
Hide file tree
Showing 15 changed files with 252 additions and 2,584 deletions.
2 changes: 2 additions & 0 deletions satsquare/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${POS
NEXTAUTH_SECRET="dev_secret_key"
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
NEXT_PUBLIC_SOCKET_URL="http://localhost:5157"
REDIS_URL="redis://localhost:6379"
NEXT_PUBLIC_LNURL_AUTH_PUBLIC_KEY="02c3b844b8104f0c1b15c507774c9ba7fc609f58f343b9b149122e944dd20c9362"
6 changes: 4 additions & 2 deletions satsquare/.env.exemple
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ POSTGRES_PORT=5432

# nest run locally
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${POSTGRES_PORT}/${POSTGRES_DB}"
NEXTAUTH_SECRET="CP912ECDSClsdezoPDZCMSJXCPISJCIY20SmfdsFOYDflHZORdsvdsFOZIRGOIZHGOURHZ"
NEXT_PUBLIC_LNURL_AUTH_PUBLIC_KEY="dsfsdfdsf"
NEXTAUTH_SECRET="sdfdsdf"
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
NEXT_PUBLIC_SOCKET_URL="http://localhost:5157"
NEXT_PUBLIC_SOCKET_URL="http://localhost:5157"
REDIS_URL="redis://localhost:6379"
4 changes: 3 additions & 1 deletion satsquare/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ DATABASE_URL="postgresql://postgres:@localhost:5432/satsquare_db"
# nest run locally
# DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${POSTGRES_PORT}/${POSTGRES_DB}"
NEXTAUTH_SECRET="CP912ECDSClsdezoPDZCMSJXCPISJCIY20SmfdsFOYDflHZORdsvdsFOZIRGOIZHGOURHZ"
NEXT_PUBLIC_LNURL_AUTH_PUBLIC_KEY="02c3b844b8104f0c1b15c507774c9ba7fc609f58f343b9b149122e944dd20c9362"
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
NEXT_PUBLIC_SOCKET_URL="ws://localhost:5157"
NEXT_PUBLIC_SOCKET_URL="ws://localhost:5157"
REDIS_URL="redis://localhost:6379"
6 changes: 4 additions & 2 deletions satsquare/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ POSTGRES_PASSWORD=test_password
POSTGRES_DB=sat_square_test_db
POSTGRES_PORT=5432
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${POSTGRES_PORT}/${POSTGRES_DB}"
NEXT_PUBLIC_LNURL_AUTH_PUBLIC_KEY="dsfdsfdsf"
NEXTAUTH_SECRET="test_secret_key"
NEXT_PUBLIC_SITE_URL="http://localhost:3001"
NEXT_PUBLIC_SOCKET_URL="http://localhost:5158"
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
NEXT_PUBLIC_SOCKET_URL="ws://localhost:5157"
REDIS_URL="redis://localhost:6379"
Loading

0 comments on commit 4c031b2

Please sign in to comment.