- Reverted baseUrl to the production server URL 'https://hanasysfield.jp' and commented out the local server IP address for production configuration.
- Ensured proper environment-specific settings for production deployment.
- Commented out the previous production baseUrl and set a new baseUrl to point to the local server IP address for production configuration.
- Ensured consistency in environment-specific configurations.
- Changed NEXT_PUBLIC_API_URL in .env.development and .env.production to point to the new development and production server URLs, respectively.
- Updated baseUrl in config.development.ts and config.production.ts to reflect the new server addresses for consistent environment configuration.
- Added a webpack configuration to utilize terser-webpack-plugin for minifying JavaScript files in production builds, ensuring no comments are included in the output.
- Changed titles and descriptions in layout.tsx files for the main app, inquiry, suitable, and survey-sale sections to reflect the new project name "HANASYS現地調査" and its specific contexts.
- Changed NEXT_PUBLIC_API_URL in .env.development and baseUrl in config.development.ts to point to the new local server IP address for development purposes.
- Changed DATABASE_URL to point to the new SQL Server instance for production environment.
- Maintained existing connection settings for consistency across environments.
- Added DATABASE_URL, DATABASE_CONNECTION_LIMIT, DATABASE_POOL_MIN, DATABASE_POOL_MAX, and SESSION_PASSWORD to .env, .env.development, .env.localhost, and .env.production files.
- Ensured consistent database connection settings across different environments for improved application performance.
- Refactored Prisma client initialization to differentiate between development and production environments.
- Enhanced logging settings based on the environment.
- Implemented graceful shutdown for Prisma client on process termination signals.
- Added connection timeout to DATABASE_URL in .env.
- Introduced DATABASE_CONNECTION_LIMIT, DATABASE_POOL_MIN, and DATABASE_POOL_MAX for connection pooling.
- Enhanced Prisma client initialization with logging and connection pool settings.
- Implemented graceful disconnection on process termination signals.
- Added detailed descriptions for search parameters and API functionalities in survey-sales routes.
- Improved documentation for inquiry-related hooks and types, enhancing clarity on their usage.
- Refactored comments for better readability and consistency across the codebase.