### Install Backend and Frontend Dependencies Source: https://github.com/codegirlsinc/frieghtflow/blob/main/README.md Install the necessary dependencies for both the backend and frontend applications. Navigate to each directory and run npm install. ```bash # Backend cd backend npm install # Frontend cd ../frontend npm install ``` -------------------------------- ### Configure Environment Variables Source: https://github.com/codegirlsinc/frieghtflow/blob/main/README.md Copy the example environment file and update it with your specific configuration details, such as database URLs and secrets. ```bash cp .env.example .env ``` -------------------------------- ### Run FrieghtFlow Backend Source: https://github.com/codegirlsinc/frieghtflow/blob/main/README.md Start the backend development server. Ensure you are in the backend directory and use the provided npm script. ```bash cd backend npm run start:dev ``` -------------------------------- ### Run FrieghtFlow Frontend Source: https://github.com/codegirlsinc/frieghtflow/blob/main/README.md Start the frontend development server. Navigate to the frontend directory and use the npm script to launch the application. ```bash cd frontend npm run dev ``` -------------------------------- ### Clone FrieghtFlow Repository Source: https://github.com/codegirlsinc/frieghtflow/blob/main/README.md Clone the FrieghtFlow repository to your local machine. This is the first step in setting up the project. ```bash git clone https://github.com/CodeGirlsInc/FrieghtFlow.git cd FrieghtFlow ``` -------------------------------- ### TypeORM Configuration for Production Source: https://github.com/codegirlsinc/frieghtflow/blob/main/backend/src/migrations/README.md This configuration snippet from `app.module.ts` shows how TypeORM's `synchronize` option is set to `false` in production environments, necessitating manual migration execution. ```typescript synchronize: configService.get('NODE_ENV') !== 'production' ``` -------------------------------- ### TypeORM Migration Commands Source: https://github.com/codegirlsinc/frieghtflow/blob/main/backend/src/migrations/README.md These commands are used to manage database schema changes with TypeORM. Ensure the database is running when generating migrations. ```bash npm run migration:generate -- src/migrations/DescriptiveName ``` ```bash npm run migration:run ``` ```bash npm run migration:revert ``` ```bash npm run migration:create -- src/migrations/DescriptiveName ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.