No description
  • PHP 73.2%
  • Blade 26.2%
  • CSS 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Otte 07b3aa17eb
All checks were successful
Tests / tests (push) Successful in 1m14s
Clear the permission cache between API tests
2026-11-15 20:35:12 +00:00
.forgejo/workflows Initial commit 2026-09-22 22:25:16 +02:00
app Add API endpoints to manage products, images and releases 2026-11-15 20:35:12 +00:00
bootstrap Initial commit 2026-09-22 22:25:16 +02:00
config Harden authentication, API authorisation and response headers 2026-10-15 08:55:30 +00:00
database make payment gateways soft deletable 2026-11-12 12:06:12 +01:00
lang Improve SEO with a sitemap, canonical URLs and crawlable pagination 2026-11-15 20:28:24 +01:00
public Improve SEO with a sitemap, canonical URLs and crawlable pagination 2026-11-15 20:28:24 +01:00
resources Add API endpoints to manage products, images and releases 2026-11-15 20:35:12 +00:00
routes Add API endpoints to manage products, images and releases 2026-11-15 20:35:12 +00:00
storage Initial commit 2026-09-22 22:25:16 +02:00
tests Clear the permission cache between API tests 2026-11-15 20:35:12 +00:00
.editorconfig Initial commit 2026-09-22 22:25:16 +02:00
.env.example Harden authentication, API authorisation and response headers 2026-10-15 08:55:30 +00:00
.gitattributes Initial commit 2026-09-22 22:25:16 +02:00
.gitignore Initial commit 2026-09-22 22:25:16 +02:00
.styleci.yml Initial commit 2026-09-22 22:25:16 +02:00
artisan Initial commit 2026-09-22 22:25:16 +02:00
composer.json Initial commit 2026-09-22 22:25:16 +02:00
composer.lock Initial commit 2026-09-22 22:25:16 +02:00
docker-compose.yml Initial commit 2026-09-22 22:25:16 +02:00
Dockerfile Initial commit 2026-09-22 22:25:16 +02:00
package-lock.json upgrade to Tailwind v4 2026-09-22 23:37:13 +02:00
package.json upgrade to Tailwind v4 2026-09-22 23:37:13 +02:00
phpstan-baseline.neon Initial commit 2026-09-22 22:25:16 +02:00
phpstan.neon Initial commit 2026-09-22 22:25:16 +02:00
phpunit.xml increase PHPUnit memory limit 2026-10-07 22:16:22 +02:00
postcss.config.js upgrade to Tailwind v4 2026-09-22 23:37:13 +02:00
README.md fix migrate command in README 2026-09-23 00:57:45 +02:00
vite.config.js Initial commit 2026-09-22 22:25:16 +02:00

Quick start

First, you need a Postgres server. This can be achieved quickly with Podman/Docker:

podman pod create --publish 5432:5432 --publish 5050:80 --name db

podman run -d --name pg --pod db \
  -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password \
  -e POSTGRES_DB=sxc \
  postgres:18

# Optional: run pgAdmin
podman run -d --name pgadmin --pod db  -e PGADMIN_DEFAULT_EMAIL=test@sourcexchange.net -e PGADMIN_DEFAULT_PASSWORD=password dpage/pgadmin4
cp .env.example .env # edit .env with your credentials
php artisan migrate --seed
php artisan serve &
npm install
npm run dev

Two users are created by seeding for testing. Both have password ertyuiop:

  • Admin: test1@sourcexchange.net
  • Creator: test2@sourcexchange.net

For Stripe:

stripe listen --all-snapshot --forward-to 127.0.0.1:8000/api/payments/stripe/notification

Security vulnerabilities

Please do not pentest the production website (https://www.sourcexchange.net) but rather your own local instance if need be. If you find a vulnerability, send the report to arnaud@ric-rac.org. Major security problems will be rewarded with a 100 EUR bank transfer.

License

sourcexchange.net is licensed under the MIT license.