--- title: Final Alif Implementation emoji: 🚀 colorFrom: blue colorTo: green sdk: docker app_port: 3001 --- # Final Alif Implementation A Node.js application with React frontend. ## Docker Deployment ### Using Docker 1. Build the Docker image: ```bash docker build -t final-alif-implementation . ``` 2. Run the container: ```bash docker run -p 3001:3001 \ -e GEMINI_API_KEY=your_api_key \ -e DATABASE_URL=your_database_url \ final-alif-implementation ``` ### Using Docker Compose 1. Create a `.env.docker` file from the template: ```bash # On Windows copy .env.docker.template .env.docker # On Linux/Mac cp .env.docker.template .env.docker ``` 2. Edit the `.env.docker` file with your environment variables 3. Run with Docker Compose: ```bash docker-compose up -d ``` Or use the provided deployment scripts: ```bash # On Windows .\docker-deploy.bat # On Linux/Mac ./docker-deploy.sh ``` 4. Access the application at http://localhost:3001 ## Development 1. Install dependencies: ```bash npm install ``` 2. Run the development server: ```bash npm run dev ```