React.js website built with Vite for showcasing Robos AI's Unmanned Maritime Surveillance Vessel (UMSV) and Unified AI platform.
- Responsive design with Tailwind CSS
- Multi-page navigation with React Router
- Contact form with email integration
- Modern UI with smooth animations
- Professional product showcase
- React 17
- Vite
- Tailwind CSS
- React Router DOM
- EmailJS for contact forms
- Express.js backend (optional)
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository
-
Install dependencies:
npm install
-
Set up environment variables (optional): Create a
.envfile in the root directory:VITE_EMAILJS_SERVICE_ID=your_service_id VITE_EMAILJS_TEMPLATE_ID=your_template_id VITE_EMAILJS_USER_ID=your_user_id
Start the development server:
npm run devThe application will be available at http://localhost:5173
Create a production build:
npm run buildThe built files will be in the dist folder.
Preview the production build locally:
npm run previewStart the Express.js server for email functionality:
npm run serverThe server runs on http://localhost:3001
src/
components/ # Reusable components
pages/ # Page components
services/ # API and service integrations
assets/ # Static assets (moved to public/)
public/
assets/ # Public assets (images, etc.)
server/ # Express.js backend
For EmailJS integration, set these variables in your .env file:
VITE_EMAILJS_SERVICE_ID: Your EmailJS service IDVITE_EMAILJS_TEMPLATE_ID: Your EmailJS template IDVITE_EMAILJS_USER_ID: Your EmailJS user ID
The built files in the dist folder can be deployed to any static hosting service like:
- Vercel
- Netlify
- GitHub Pages
- AWS S3 + CloudFront
For the backend server, deploy to services like:
- Heroku
- Railway
- DigitalOcean App Platform
- AWS Elastic Beanstalk
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details