### Run API in Development Mode Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Starts the backend API server for development. This command should be run after all setup steps are completed. ```bash npm run dev:api ``` -------------------------------- ### Launch Database and Redis Containers Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Starts the database and Redis services using Docker Compose. Ensure you have the `docker-compose-db-local.yml` file available. ```bash docker compose -f docker-compose-db-local.yml up -d ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Installs all necessary Node.js packages for the project. This command should be run after cloning the repository or updating dependencies. ```bash npm install ``` -------------------------------- ### Run Scheduler in Development Mode Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Starts the scheduled task runner for development. This process handles time-based operations within the application. ```bash npm run dev:scheduler ``` -------------------------------- ### Run Worker in Development Mode Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Starts the background worker process for development. Ensure the API is running or accessible if the worker depends on it. ```bash npm run dev:worker ``` -------------------------------- ### Seed Development Database Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Populates the development database with initial or test data. Use this command to set up a known state for the database. ```bash npm run migrate:seed:dev ``` -------------------------------- ### Deploy Database Migrations Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Applies pending database schema changes. This command is crucial for ensuring the database structure is up-to-date with the application's requirements. ```bash npm run migrate:deploy ``` -------------------------------- ### Generate Database Types Source: https://github.com/remnawave/backend/blob/main/DEVELOPMENT.md Generates type definitions based on the database schema. This is useful for maintaining type safety in the application. ```bash npm run migrate:generate ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.