Version 1.0.0

This commit is contained in:
2025-05-10 16:52:45 +02:00
commit bed95bff35
459 changed files with 36475 additions and 0 deletions

View File

@@ -0,0 +1 @@
Deny from all

View File

@@ -0,0 +1 @@
{"packages":[],"notify-batch":"https:\/\/packagist.org\/downloads\/","providers-url":"\/p\/%package%$%hash%.json","metadata-url":"\/p2\/%package%.json","metadata-changes-url":"https:\/\/packagist.org\/metadata\/changes.json","search":"https:\/\/packagist.org\/search.json?q=%query%&type=%type%","list":"https:\/\/packagist.org\/packages\/list.json","security-advisories":{"metadata":true,"api-url":"https:\/\/packagist.org\/api\/security-advisories\/"},"providers-api":"https:\/\/packagist.org\/providers\/%package%.json","warning":"Support for Composer 1 will be shutdown on August 1st 2025. You should upgrade to Composer 2. See https:\/\/blog.packagist.com\/shutting-down-packagist-org-support-for-composer-1-x\/","warning-versions":"<1.99","provider-includes":{"p\/provider-2013$%hash%.json":{"sha256":"a2b47ec1a1bb999e53d88aff50728aebbd3d68225c74aab1ff5f071bac42f5b7"},"p\/provider-2014$%hash%.json":{"sha256":"347426977f09ca7feb7306fd990c2db8bf28b3f3d57716f8b90a12f1c21f1065"},"p\/provider-2015$%hash%.json":{"sha256":"d9fa6571b23af36e89a1f73eb3be340c81743ae5b71e523cf228552d8e02d029"},"p\/provider-2016$%hash%.json":{"sha256":"27c3687c41821dca9f6d65a0ca636ae6675120d4f045d132a097d8c0311818d4"},"p\/provider-2017$%hash%.json":{"sha256":"f82637fef38646359f09365a7aef1bcbdf7db5d63b0511b3a1f9f8f58a9c2854"},"p\/provider-2018$%hash%.json":{"sha256":"f4870961f191584a8e58a5683ef5882459e5f66ea2d70881750a53400b401857"},"p\/provider-2019$%hash%.json":{"sha256":"70145dae32ee55bd86351b2e7520fd573c642917b7787009bb5b13bfa7208517"},"p\/provider-2020$%hash%.json":{"sha256":"261d9f1aaca76417647dad0922781fffeac007531dffd9d5ff8eea9b69826430"},"p\/provider-2021$%hash%.json":{"sha256":"231acb00ca80397db2f2ed9cfdaa7045839584e9f39dd03b87b9cebbb9ccf5d7"},"p\/provider-2022$%hash%.json":{"sha256":"fbd72f659dbd3b7f28c2f4a03bb903759e1d7641c300e1eaea0dec25bd05683e"},"p\/provider-2023$%hash%.json":{"sha256":"0b8c3c321c716153c450fe69d8fd4d23279fdc451212e28ccccbb25db0aef094"},"p\/provider-2024$%hash%.json":{"sha256":"745def0c1dd86019d31400fa0899b9293bc5c9bc5ab2c790866cb365dcbb16f8"},"p\/provider-2024-04$%hash%.json":{"sha256":"1128944b800d6c07420ddbe33aa14667f2ef6ea0833cddf84b92ca96ac3078d8"},"p\/provider-2024-07$%hash%.json":{"sha256":"3582960dd2ea8d007e7e1bfb07938b08ab5a4179332d0ec65424a506332b8197"},"p\/provider-2024-10$%hash%.json":{"sha256":"82ea763e72f57755471cf9a4cb2f99f7ef7a15b9675146528fb041a4345d3df1"},"p\/provider-2025-01$%hash%.json":{"sha256":"f11d8fd77adedb70d261f92a09242b68ab67019920f6ec4fb8868bca6ab098aa"},"p\/provider-archived$%hash%.json":{"sha256":"8bb3f3566d1b440250f124cb7e56479912c1ebc3471ac2924bf94382101d06a4"},"p\/provider-latest$%hash%.json":{"sha256":"d2d84dcbc41a33a96cc1a39c91a29861f33e93ec0c1086c04754663eaad831c5"}},"last-modified":"Tue, 18 Feb 2025 08:12:32 GMT"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Deny from all

18
.editorconfig Normal file
View File

@@ -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

69
.env.example Normal file
View File

@@ -0,0 +1,69 @@
APP_NAME=SzpitalOborniki
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_LOCALE=pl
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=pl_PL
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="hello@example.com"
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
VITE_APP_NAME="${APP_NAME}"
# Analytics
VITE_ANALYTICS_URL=
VITE_ANALYTICS_WEBSITE_ID=

10
.gitattributes vendored Normal file
View File

@@ -0,0 +1,10 @@
* text=auto eol=lf
*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php
CHANGELOG.md export-ignore
README.md export-ignore

45
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
name: linter
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
permissions:
contents: write
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
npm install
- name: Run Pint
run: vendor/bin/pint
- name: Format Frontend
run: npm run format
- name: Lint Frontend
run: npm run lint
# - name: Commit Changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: fix code style
# commit_options: '--no-verify'

50
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: tests
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
tools: composer:v2
coverage: xdebug
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install Node Dependencies
run: npm ci
- name: Build Assets
run: npm run build
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Copy Environment File
run: cp .env.example .env
- name: Generate Application Key
run: php artisan key:generate
- name: Tests
run: ./vendor/bin/phpunit

24
.gitignore vendored Normal file
View File

@@ -0,0 +1,24 @@
/.phpunit.cache
/bootstrap/ssr
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/storage/pail
/vendor
.env
.env.backup
.env.production
.phpactor.json
.phpunit.result.cache
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/auth.json
/.fleet
/.idea
/.nova
/.vscode
/.zed

View File

@@ -0,0 +1 @@
Deny from all

Some files were not shown because too many files have changed in this diff Show More