No description
  • PHP 72.8%
  • Blade 26.6%
  • CSS 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Otte ce02163430
All checks were successful
Tests / tests (push) Successful in 1m5s
Add a public API documentation page
Describe every endpoint with the token permission it needs, its parameters and an example response, and explain authentication, errors and rate limits. Link to it from the API tokens page and the homepage.
2026-09-23 22:29:35 +00:00
.forgejo/workflows Initial commit 2026-09-22 22:25:16 +02:00
app unload relations in release creation API before returning newly created release 2026-09-24 00:21:24 +02:00
bootstrap Initial commit 2026-09-22 22:25:16 +02:00
config comment unused spatie media library pro config 2026-09-24 00:23:39 +02:00
database Initial commit 2026-09-22 22:25:16 +02:00
lang Initial commit 2026-09-22 22:25:16 +02:00
public Initial commit 2026-09-22 22:25:16 +02:00
resources Add a public API documentation page 2026-09-23 22:29:35 +00:00
routes Add a public API documentation page 2026-09-23 22:29:35 +00:00
storage Initial commit 2026-09-22 22:25:16 +02:00
tests Add a public API documentation page 2026-09-23 22:29:35 +00:00
.editorconfig Initial commit 2026-09-22 22:25:16 +02:00
.env.example Initial commit 2026-09-22 22:25:16 +02: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 Initial commit 2026-09-22 22:25:16 +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.