CRM/backend
مسعود نیک زاد e1a86ead41 update project 2026-07-25 15:18:46 +03:30
..
app update project 2026-07-25 15:18:46 +03:30
bootstrap update project 2026-07-25 15:18:46 +03:30
config first commit 2026-07-11 12:23:45 +03:30
database update project 2026-07-25 15:18:46 +03:30
public first commit 2026-07-11 12:23:45 +03:30
resources first commit 2026-07-11 12:23:45 +03:30
routes update project 2026-07-25 15:18:46 +03:30
storage update project 2026-07-25 15:18:46 +03:30
tests update project 2026-07-25 15:18:46 +03:30
.editorconfig first commit 2026-07-11 12:23:45 +03:30
.env.example first commit 2026-07-11 12:23:45 +03:30
.gitattributes first commit 2026-07-11 12:23:45 +03:30
.gitignore first commit 2026-07-11 12:23:45 +03:30
README.md first commit 2026-07-11 12:23:45 +03:30
artisan first commit 2026-07-11 12:23:45 +03:30
composer.json update project 2026-07-25 15:18:46 +03:30
composer.lock update project 2026-07-25 15:18:46 +03:30
package.json first commit 2026-07-11 12:23:45 +03:30
phpunit.xml first commit 2026-07-11 12:23:45 +03:30
start-backend.bat first commit 2026-07-11 12:23:45 +03:30
vite.config.js first commit 2026-07-11 12:23:45 +03:30

README.md

CRM Backend

Laravel 12 API for the CRM. See the root README.md for full setup, testing, security, and project-structure notes.

Quick Start

composer install
copy .env.example .env
php artisan key:generate
type nul > database\database.sqlite
php artisan migrate --seed
php artisan serve --host=127.0.0.1 --port=8800

Required PHP extensions include gd, mbstring, openssl, pdo_sqlite, zip, xml, xmlreader, xmlwriter, simplexml, dom, fileinfo, and curl. Check the current machine with:

composer check-platform-reqs

Default local backend:

Host: 127.0.0.1
Port: 8800
URL:  http://127.0.0.1:8800

To use another port, pass a different --port to php artisan serve and update APP_URL, SANCTUM_STATEFUL_DOMAINS, CORS_ALLOWED_ORIGINS, and the frontend VITE_BACKEND_URL.

Run tests with:

php artisan test

Do not commit .env, database/*.sqlite, storage runtime data, bootstrap/cache output, cookie files, or vendor.