A modern web application that provides access to multiple AI models including GPT-5, powered by Azure AI Foundry.
- π€ Multiple AI Models: Access GPT-5, Image Generation, and Code Assistant
- π Enterprise Security: Built with security best practices
- β‘ High Performance: Optimized for speed and reliability
- π¨ Modern UI: Beautiful, responsive design with smooth animations
- π± Mobile Friendly: Fully responsive across all devices
- π§ Easy Integration: Simple setup with Azure AI Foundry
- Backend: Node.js, Express.js
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Template Engine: EJS
- AI Platform: Azure AI Foundry
- Styling: Custom CSS with CSS Variables
- Icons: Font Awesome
- Node.js (v16 or higher)
- npm or yarn
- Azure AI Foundry account with API keys
-
Clone the repository
git clone <your-repo-url> cd FusionAI
-
Install dependencies
npm install
-
Configure environment variables
cp .env.example .env
Edit
.envand add your Azure AI Foundry credentials:AZURE_AI_ENDPOINT=your-azure-ai-endpoint AZURE_AI_KEY=your-azure-ai-key AZURE_AI_DEPLOYMENT_NAME=gpt-5
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:3000
FusionAI/
βββ controllers/ # Route controllers (future use)
βββ models/ # Data models (future use)
βββ public/ # Static assets
β βββ css/
β β βββ style.css # Main styles
β β βββ chat.css # Chat-specific styles
β βββ js/
β βββ main.js # Landing page functionality
β βββ chat.js # Chat functionality
βββ routes/ # Express routes (future use)
βββ views/ # EJS templates
β βββ index.ejs # Landing page
β βββ chat.ejs # Chat interface
β βββ 404.ejs # Error page
βββ .env # Environment variables
βββ package.json # Dependencies and scripts
βββ server.js # Main server file
βββ README.md # This file
-
Create an Azure AI Foundry resource
- Go to Azure Portal
- Create a new Azure AI Foundry resource
- Note down the endpoint and API key
-
Deploy GPT-5 model
- In Azure AI Foundry, deploy the GPT-5 model
- Note the deployment name
-
Update environment variables
AZURE_AI_ENDPOINT=https://your-resource.openai.azure.com/ AZURE_AI_KEY=your-32-character-api-key AZURE_AI_DEPLOYMENT_NAME=your-gpt5-deployment-name
npm start- Start production servernpm run dev- Start development server with nodemonnpm test- Run tests (to be implemented)
- POST
/api/chat{ "message": "Your message here", "modelId": "gpt-5", "settings": { "temperature": 0.7, "maxTokens": 1000 } }
- GET
/health- Server health status
- Hero section with animated elements
- Model selection cards with hover effects
- Feature showcase
- Responsive navigation
- Performance optimized animations
- Real-time messaging with AI models
- Message history and persistence
- Configurable AI parameters (temperature, max tokens)
- Export chat functionality
- Typing indicators and smooth animations
- Keyboard shortcuts support
- GPT-5 Chat - Advanced conversational AI
- Image Generation - Text-to-image creation
- Code Assistant - Code generation and debugging
-
Update server.js
const modelData = [ // ... existing models { name: 'Your New Model', description: 'Model description', id: 'your-model-id', icon: 'fas fa-your-icon', features: ['Feature 1', 'Feature 2'] } ];
-
Add API integration in the
/api/chatendpoint
Edit CSS custom properties in public/css/style.css:
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
/* ... other variables */
}- Environment variables for sensitive data
- Input validation and sanitization
- Rate limiting (to be implemented)
- CORS configuration
- XSS protection through proper content escaping
- Lazy loading for images
- CSS and JS minification (production)
- Efficient DOM manipulation
- Smooth animations with CSS transforms
- Responsive images and icons
- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the ISC License.
For support and questions:
- Create an issue in the repository
- Contact the development team
- User authentication and sessions
- Chat history persistence
- Advanced model parameters
- File upload support
- Multi-language support
- Analytics dashboard
- API rate limiting
- Database integration
- Docker containerization
Built with β€οΈ using Azure AI Foundry and modern web technologies.