The AI-Powered Material Entry Validator ensures the correct entry and storage of material records at a shipyard. The project includes a backend API for AI-based validation and data storage, and a frontend interface for user interaction. The backend is built with Node.js and Express, while the frontend uses Vue.js and Bootstrap for a responsive and user-friendly experience. The project leverages OpenAI's capabilities to validate material entries, ensuring accuracy and compliance with required formats. The project is Dockerized for easy deployment and scaling.
- AI-Powered Validation: Ensures material records are correctly entered based on predefined criteria.
- Suggestion System: Provides suggestions for material records based on existing entries in
malzemeler.json
. - Real-Time Data Entry: Validates data as it is entered and lists similar existing records for comparison.
- Responsive Interface: Built with Vue.js and Bootstrap.
- Dockerized Deployment: Easy setup and scaling with Docker.
-
Clone the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/material-save.git
-
Navigate to the project directory:
cd material-save
-
Create a
.env
file in thebackend
directory and add your OpenAI API key:OPENAI_API_KEY=your_openai_api_key_here
-
Build and run the Docker containers:
sudo docker-compose up --build
- Frontend Interface: Available at
http://localhost
. - Backend API: Available at
http://localhost:3000
.
- /suggest: Suggests similar material records based on query parameters.
- /submit: Submits a new material record after checking for duplicates.
- /ask-ai: Uses OpenAI to validate material records.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.