JEC Night Cafe is a modern, full-stack restaurant website that brings the perfect blend of flavor and ambiance to your digital experience. Built with cutting-edge technologies, it offers an immersive dining experience through a beautifully crafted web interface.
"It's not just a place, it's a Vibe..."
- 🎨 Modern Design: Stunning UI/UX with smooth animations and responsive design
- 📱 Mobile-First: Fully responsive across all devices and screen sizes
- 🔥 Real-time Reservations: Interactive booking system with MongoDB integration
- ⚡ Fast Performance: Optimized for speed with Vite and modern React
- 🎯 Interactive Elements: Engaging hover effects and smooth scrolling
- 🍕 Dynamic Menu: Showcase of popular dishes with beautiful imagery
- 👥 Team Showcase: Meet our passionate team members
- 📊 Statistics: Live customer satisfaction metrics
- Node.js (v16 or higher)
- npm or yarn
- MongoDB Atlas account
-
Clone the repository
git clone https://github.com/azfar-2/Jec-Night-Cafe.git cd Jec-Night-Cafe -
Install dependencies for both frontend and backend
# Install backend dependencies cd backend npm install # Install frontend dependencies cd ../frontend npm install
-
Environment Setup
Create a
config.envfile in thebackend/config/directory:PORT=4000 FRONTEND_URL=http://localhost:5173 MONGO_URI=your_mongodb_connection_string
-
Start the development servers
Backend (Terminal 1):
cd backend npm run devFrontend (Terminal 2):
cd frontend npm run dev -
Access the application
- Frontend:
http://localhost:5173 - Backend API:
http://localhost:4000
- Frontend:
JEC-Night-Cafe/
├── 📂 frontend/
│ ├── 📂 public/ # Static assets (images, icons)
│ ├── 📂 src/
│ │ ├── 📂 components/ # React components
│ │ │ ├── HeroSection.jsx
│ │ │ ├── Navbar.jsx
│ │ │ ├── Menu.jsx
│ │ │ ├── About.jsx
│ │ │ ├── Team.jsx
│ │ │ ├── Reservation.jsx
│ │ │ └── Footer.jsx
│ │ ├── 📂 Pages/ # Page components
│ │ ├── App.jsx # Main App component
│ │ ├── App.css # Global styles
│ │ └── restApi.json # Static data
│ └── package.json
├── 📂 backend/
│ ├── 📂 config/ # Environment configuration
│ ├── 📂 controller/ # Route controllers
│ ├── 📂 database/ # Database connection
│ ├── 📂 error/ # Error handling
│ ├── 📂 models/ # MongoDB schemas
│ ├── 📂 routes/ # API routes
│ ├── app.js # Express app setup
│ ├── server.js # Server entry point
│ └── package.json
└── README.md
- Animated gradient background with floating elements
- Interactive parallax scrolling effects
- Call-to-action buttons with smooth scroll navigation
- Statistics showcase (500+ customers, 50+ dishes, 5★ rating)
- Dynamic dish display with hover animations
- Category-based filtering (Breakfast, Lunch, Dinner)
- High-quality food imagery with smooth transitions
- Real-time booking with form validation
- MongoDB integration for data persistence
- Success/Error handling with toast notifications
- Responsive form design across all devices
- Interactive team member cards with hover effects
- Professional team showcase (Founder, Manager, Developer, Tester)
- Smooth animations and engaging user interactions
POST /api/v1/reservation/send
Request Body:
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phone": "1234567890",
"date": "2024-01-15",
"time": "19:30"
}- Modern Glassmorphism UI with blur effects
- Smooth animations and micro-interactions
- Responsive grid layouts for all screen sizes
- Custom CSS animations and keyframes
- Professional color scheme with gradient overlays
- Typography optimization with Google Fonts (Oswald)
Frontend: jecnightcafe.vercel.app
Backend API: jecnightcafe-backend.vercel.app
![]() Nitish Jha Founder |
![]() Azfar Alam Manager |
![]() Manikant Singh Developer |
![]() Sachin Singh Tester |
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production build
npm run lint # Run ESLintnpm start # Start production server
npm run dev # Start development server with nodemonThis project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Nitish Jha - Founder & Lead Developer
- 📧 Email: [email protected]
- 🌐 Website: JEC Night Cafe
- 📍 Location: Jaipur, Rajasthan (302028)
Made with ❤️ by the JEC Night Cafe Team
🚀 Ready to taste the difference? Visit JEC Night Cafe 🚀




