System Requirements
Before installing the Production Inspection Form application, ensure your system meets the following requirements:This application is built with Next.js and designed for static export deployment.
Required Software
- Node.js: Version 18.x or higher
- Package Manager: npm, yarn, or pnpm
- Web Server: Any HTTP server capable of serving static files (nginx, Apache, etc.)
- Browser Support: Modern browsers with JavaScript enabled (Chrome, Firefox, Edge, Safari)
Backend Requirements
- Access to the inspection API server at
http://10.107.194.110/insp/ - LDAP server for user authentication
- Network connectivity between client browsers and the API server
Installation Steps
Key Dependencies
The application relies on the following core dependencies:| Package | Purpose |
|---|---|
| next | Next.js framework for React applications |
| react | Core React library for UI components |
| react-dom | React DOM rendering |
| styled-jsx | CSS-in-JS styling solution (included with Next.js) |
Development Environment Setup
Running the Development Server
Start the Next.js development server for local testing:http://localhost:3000.
Development Features
- Hot Module Replacement: Automatic page refresh on code changes
- Error Overlay: Development-time error reporting
- Fast Refresh: Preserves component state during edits
Project Structure
The application follows Next.js App Router conventions:Troubleshooting Installation
Node Version Issues
If you encounter compatibility issues, verify your Node.js version:Dependency Conflicts
Clear your package manager cache and reinstall:Network Access Issues
Next Steps
After successful installation:- Configure the application settings (see Configuration)
- Build and deploy the application (see Deployment)
- Test the login and inspection form functionality
