Skip to content

It is a web application built using the MERN stack (MongoDB, Express.js, React, and Node.js) to solve a real-world problem faced at my college. The app allows students and faculty to easily reserve seats at our campus café, streamlining the reservation process and enhancing the overall café experience.

License

Notifications You must be signed in to change notification settings

Jec-Forge/Jec-Night-Cafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌙 JEC Night Cafe

JEC Night Cafe Logo

✨ Where Every Dish Tells a Story and Every Moment Becomes a Memory ✨

Live Demo GitHub Stars License


🍽️ About JEC Night Cafe

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..."

🌟 Key Features

  • 🎨 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

🛠️ Tech Stack

Frontend

React Vite CSS3 JavaScript

Backend

Node.js Express.js MongoDB Mongoose

Deployment & Tools

Vercel Git ESLint


🚀 Quick Start

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • MongoDB Atlas account

📦 Installation

  1. Clone the repository

    git clone https://github.com/azfar-2/Jec-Night-Cafe.git
    cd Jec-Night-Cafe
  2. Install dependencies for both frontend and backend

    # Install backend dependencies
    cd backend
    npm install
    
    # Install frontend dependencies
    cd ../frontend
    npm install
  3. Environment Setup

    Create a config.env file in the backend/config/ directory:

    PORT=4000
    FRONTEND_URL=http://localhost:5173
    MONGO_URI=your_mongodb_connection_string
  4. Start the development servers

    Backend (Terminal 1):

    cd backend
    npm run dev

    Frontend (Terminal 2):

    cd frontend
    npm run dev
  5. Access the application

    • Frontend: http://localhost:5173
    • Backend API: http://localhost:4000

📁 Project Structure

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

🎯 Features Showcase

🌟 Hero Section

  • 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)

🍕 Menu Section

  • Dynamic dish display with hover animations
  • Category-based filtering (Breakfast, Lunch, Dinner)
  • High-quality food imagery with smooth transitions

📅 Reservation System

  • Real-time booking with form validation
  • MongoDB integration for data persistence
  • Success/Error handling with toast notifications
  • Responsive form design across all devices

👥 Team Section

  • Interactive team member cards with hover effects
  • Professional team showcase (Founder, Manager, Developer, Tester)
  • Smooth animations and engaging user interactions

📊 API Endpoints

Reservation Routes

POST /api/v1/reservation/send

Request Body:

{
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "phone": "1234567890",
  "date": "2024-01-15",
  "time": "19:30"
}

🎨 Design Highlights

  • 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)

🌐 Live Demo

Frontend: jecnightcafe.vercel.app
Backend API: jecnightcafe-backend.vercel.app


👥 Team

Nitish Jha
Nitish Jha
Founder
Azfar Alam
Azfar Alam
Manager
Manikant Singh
Manikant Singh
Developer
Sachin Singh
Sachin Singh
Tester

🔧 Development Scripts

Frontend

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build
npm run lint     # Run ESLint

Backend

npm start        # Start production server
npm run dev      # Start development server with nodemon

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


🤝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📞 Contact

Nitish Jha - Founder & Lead Developer


📈 Project Stats

  • ⭐ GitHub Stars: GitHub Stars
  • 🔀 Forks: GitHub Forks
  • 📝 Commits: GitHub Commits
  • 📊 Code Size: GitHub Code Size

🌟 If you found this project helpful, please give it a star! ⭐

Made with ❤️ by the JEC Night Cafe Team

🚀 Ready to taste the difference? Visit JEC Night Cafe 🚀

About

It is a web application built using the MERN stack (MongoDB, Express.js, React, and Node.js) to solve a real-world problem faced at my college. The app allows students and faculty to easily reserve seats at our campus café, streamlining the reservation process and enhancing the overall café experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •