Skip to content

Commit

Permalink
Nodeless.io Open Source
Browse files Browse the repository at this point in the history
  • Loading branch information
utxo-one committed Oct 7, 2023
0 parents commit b8c7b2a
Show file tree
Hide file tree
Showing 1,938 changed files with 231,783 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[docker-compose.yml]
indent_size = 4
65 changes: 65 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
APP_NAME=Nodeless
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
# If you have a connection refused error on migration, you can also try DB_HOST=mysql here
DB_HOST=host.docker.internal
DB_PORT=3307
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
PUSHER_APP_CLUSTER=mt1

VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

### Lightning Network LND config
LND_HOST=https://testnet/lnd-rest/btc/
LND_PORT=9735
LND_MACAROON_HEX=
LND_TLS_CERT=
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text=auto

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
.vite/
composer.lock
package-lock.json
.env.testnet
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": true
}
4 changes: 4 additions & 0 deletions .scribe/.filehashes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# GENERATED. YOU SHOULDN'T MODIFY OR DELETE THIS FILE.
# Scribe uses this file to know when you change something manually in your docs.
.scribe/intro.md=55a05dbb4ee55a1819f7ce3abc836460
.scribe/auth.md=15e742b0bb2b96966ff69f90ad357ee9
7 changes: 7 additions & 0 deletions .scribe/auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Authenticating requests

This API is authenticated by sending an **`Authorization`** header with the value **`"Bearer {YOUR_AUTH_KEY}"`**.

All authenticated endpoints are marked with a `requires authentication` badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.
52 changes: 52 additions & 0 deletions .scribe/endpoints.cache/00.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## Autogenerated by Scribe. DO NOT MODIFY.

name: 'Server Info'
description: ''
endpoints:
-
httpMethods:
- GET
uri: api/v1/status
metadata:
groupName: 'Server Info'
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: 'Get API Status'
description: 'Displays if the API is online or offline.'
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters: []
cleanUrlParameters: []
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: |-
{
"data": {
"code": 200,
"status": "online",
"node": "LND"
}
}
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1|4WXtLwKVDWkBb14fs9e6IbA4Z4rLz3DyS96YKvIc'
controller: null
method: null
route: null
custom: []
101 changes: 101 additions & 0 deletions .scribe/endpoints.cache/01.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
## Autogenerated by Scribe. DO NOT MODIFY.

name: Transactions
description: ''
endpoints:
-
httpMethods:
- GET
uri: api/v1/transaction
metadata:
groupName: Transactions
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: 'Get All Transactions'
description: 'Returns a paginated list of transactions for this user.'
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters: []
cleanUrlParameters: []
queryParameters:
isFee:
name: isFee
description: 'If true, only returns transactions that are fees.'
required: false
example: false
type: boolean
custom: []
cleanQueryParameters:
isFee: false
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: '{"data":[{"id":"3bd3aab1-fbf8-49cf-a400-08bd54d0d2c2","transactable_type":"Donation","transactable":{"id":1,"uuid":"11becf5a-fb6f-4360-a506-26e375a05b23","donation_page_id":1,"amount":5000,"amount_paid":5000,"name":"anonymous","message":null,"status":"paid","type":"lightning","metadata":null,"created_at":"2023-03-15T01:11:13.000000Z","updated_at":"2023-03-15T01:11:36.000000Z","paid_at":"2023-03-15 01:11:36"},"amount":5000,"type":"credit","status":"settled","created_at":"2023-03-15T01:11:35.000000Z","updated_at":"2023-03-15T01:11:35.000000Z","is_fee":false},{"id":"3bd3aab1-fbf8-49cf-a400-08bd54d0d2c2","transactable_type":"Donation","transactable":{"id":1,"uuid":"11becf5a-fb6f-4360-a506-26e375a05b23","donation_page_id":1,"amount":5000,"amount_paid":5000,"name":"anonymous","message":null,"status":"paid","type":"lightning","metadata":null,"created_at":"2023-03-15T01:11:13.000000Z","updated_at":"2023-03-15T01:11:36.000000Z","paid_at":"2023-03-15 01:11:36"},"amount":5000,"type":"credit","status":"settled","created_at":"2023-03-15T01:11:35.000000Z","updated_at":"2023-03-15T01:11:35.000000Z","is_fee":false}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":15,"to":2,"total":2}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1|4WXtLwKVDWkBb14fs9e6IbA4Z4rLz3DyS96YKvIc'
controller: null
method: null
route: null
custom: []
-
httpMethods:
- GET
uri: 'api/v1/transaction/{id}'
metadata:
groupName: Transactions
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: 'Get Transaction'
description: 'Returns a single transaction.'
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters:
id:
name: id
description: 'The id of the transaction.'
required: true
example: 2cas07-0c8n70n923-72c93-c2389
type: string
custom: []
cleanUrlParameters:
id: 2cas07-0c8n70n923-72c93-c2389
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: '{"data":{"id":"3bd3aab1-fbf8-49cf-a400-08bd54d0d2c2","transactable_type":"Donation","transactable":{"id":1,"uuid":"11becf5a-fb6f-4360-a506-26e375a05b23","donation_page_id":1,"amount":5000,"amount_paid":5000,"name":"anonymous","message":null,"status":"paid","type":"lightning","metadata":null,"created_at":"2023-03-15T01:11:13.000000Z","updated_at":"2023-03-15T01:11:36.000000Z","paid_at":"2023-03-15 01:11:36"},"amount":5000,"type":"credit","status":"settled","created_at":"2023-03-15T01:11:35.000000Z","updated_at":"2023-03-15T01:11:35.000000Z","is_fee":false}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1|4WXtLwKVDWkBb14fs9e6IbA4Z4rLz3DyS96YKvIc'
controller: null
method: null
route: null
custom: []
93 changes: 93 additions & 0 deletions .scribe/endpoints.cache/02.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
## Autogenerated by Scribe. DO NOT MODIFY.

name: Stores
description: ''
endpoints:
-
httpMethods:
- GET
uri: api/v1/store
metadata:
groupName: Stores
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: 'Get Stores'
description: 'Displays a list of stores belonging to the authenticated user.'
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters: []
cleanUrlParameters: []
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: '{"data":[{"id":"6ba80299-96d8-4798-89ef-c1529c203098","name":"McLaughlin Ltd","url":"http:\/\/www.oberbrunner.com\/provident-earum-fugiat-sunt","email":"[email protected]","createdAt":"2023-05-01T15:32:33.000000Z"},{"id":"24ae4d6f-d370-41e9-a426-cb3b40ed544e","name":"Sanford and Sons","url":"https:\/\/kerluke.com\/numquam-dolorem-voluptate-ut-architecto-vel.html","email":"[email protected]","createdAt":"2023-05-01T15:32:33.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":15,"to":2,"total":2}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1|4WXtLwKVDWkBb14fs9e6IbA4Z4rLz3DyS96YKvIc'
controller: null
method: null
route: null
custom: []
-
httpMethods:
- GET
uri: 'api/v1/store/{id}'
metadata:
groupName: Stores
groupDescription: ''
subgroup: ''
subgroupDescription: ''
title: 'Get Store'
description: "Displays a store's details."
authenticated: true
custom: []
headers:
Authorization: 'Bearer {YOUR_AUTH_KEY}'
Content-Type: application/json
Accept: application/json
urlParameters:
id:
name: id
description: 'The ID of the store.'
required: true
example: 54fbc40d-a8a1-481d-b010-dea627eb491e
type: string
custom: []
cleanUrlParameters:
id: 54fbc40d-a8a1-481d-b010-dea627eb491e
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
cleanBodyParameters: []
fileParameters: []
responses:
-
status: 200
content: '{"data":{"id":"3d947171-ed33-49c5-8120-be3947609839","name":"DuBuque and Sons","url":"http:\/\/www.shanahan.biz\/ratione-nisi-quam-sunt-voluptatibus","email":"[email protected]","createdAt":"2023-05-01T15:32:33.000000Z"}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1|4WXtLwKVDWkBb14fs9e6IbA4Z4rLz3DyS96YKvIc'
controller: null
method: null
route: null
custom: []
Loading

0 comments on commit b8c7b2a

Please sign in to comment.