A complete website for MR Tooling Industries with frontend, backend, and admin panel.
- ✅ Home page with hero, services overview, stats, and CTA
- ✅ About Us page with mission, vision, and core values
- ✅ Services page with detailed descriptions
- ✅ Infrastructure page showcasing capabilities
- ✅ Gallery with filtering (machinery, products, facility)
- ✅ Industries page (Automotive & Industrial sectors)
- ✅ Contact page with form and Google Maps
- ✅ Request Quote page with detailed form
- ✅ Secure authentication with JWT
- ✅ Dashboard with statistics
- ✅ Content management (company info, about page)
- ✅ Services management (CRUD)
- ✅ Infrastructure management (CRUD)
- ✅ Industries management (CRUD)
- ✅ Gallery management (CRUD)
- ✅ Stats management
- ✅ View and manage contact inquiries
- ✅ View and manage quote requests
- ✅ RESTful API with FastAPI
- ✅ MongoDB database integration
- ✅ Email functionality via Resend API
- ✅ JWT authentication
- ✅ CORS enabled
- ✅ Complete CRUD operations
- Navigate to backend directory:
cd backend- Install dependencies:
pip install -r requirements.txt- Seed the database:
python seed_data.py- Run the server:
uvicorn server:app --reloadBackend will be available at http://localhost:8000
API docs at http://localhost:8000/docs
- Navigate to frontend directory:
cd frontend- Install dependencies:
npm install- Create
.envfile:
REACT_APP_API_URL=http://localhost:8000/api- Start development server:
npm startFrontend will be available at http://localhost:3000
emergent-mr/
├── backend/
│ ├── routes/ # API route handlers
│ ├── models.py # Pydantic models
│ ├── server.py # FastAPI application
│ ├── seed_data.py # Database seeding script
│ └── requirements.txt # Python dependencies
├── frontend/
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── pages/ # Page components
│ │ ├── services/ # API service layer
│ │ └── App.js # Main app component
│ └── package.json # Node dependencies
└── README.md
Default admin credentials:
- Username:
admin - Password:
admin123
GET /api/content- Get all contentGET /api/services- Get all servicesGET /api/infrastructure- Get infrastructure itemsGET /api/industries- Get industriesGET /api/gallery- Get gallery imagesGET /api/stats- Get statisticsPOST /api/contact- Submit contact formPOST /api/quote- Submit quote request
POST /api/auth/login- LoginGET /api/auth/me- Get current user- All CRUD operations for content management
See backend/README.md for complete API documentation.
See DEPLOYMENT.md for detailed deployment instructions.
- React 18
- React Router 6
- Tailwind CSS
- Axios
- Lucide React Icons
- FastAPI
- MongoDB (Motor async driver)
- Resend (Email service)
- JWT (Authentication)
- Pydantic (Data validation)
Proprietary - All rights reserved