please give everything in this structure make the project like this please give code for every file please dont miss anything
looplane/
├── app.js # Main application entry point
├── package.json # Project dependencies
├── config/ # Configuration files
│ └── database.js # SQLite database setup
├── controllers/ # Route controllers
│ ├── authController.js # Authentication logic
│ ├── rideController.js # Ride management
│ ├── userController.js # User profile management
│ ├── adminController.js # Admin functionality
│ ├── paymentController.js # Payment handling
│ ├── feedbackController.js # Feedback system
│ ├── safetyController.js # Safety and security measures (e.g., emergency contacts, verification)
│ └── reportController.js # Reporting system for misconduct or issues
├── models/ # Database models
│ ├── User.js # User model
│ ├── Ride.js # Ride model
│ ├── Booking.js # Booking model
│ ├── Feedback.js # Feedback model
│ ├── SafetyReport.js # Safety reports model
│ └── EmergencyContact.js # Emergency contacts model
├── routes/ # Express routes
│ ├── authRoutes.js # Authentication routes
│ ├── rideRoutes.js # Ride management routes
│ ├── userRoutes.js # User profile routes
│ ├── adminRoutes.js # Admin routes
│ ├── paymentRoutes.js # Payment routes
│ ├── feedbackRoutes.js # Feedback routes
│ ├── safetyRoutes.js # Safety-related routes (e.g., panic button, emergency contacts)
│ └── reportRoutes.js # Reporting system routes
├── public/ # Static assets
│ ├── css/ # Stylesheets
│ │ ├── main.css # Main styles
│ │ ├── animations.css # Custom animations
│ │ ├── responsive.css # Responsive design
│ │ └── safety.css # Safety-specific UI elements
│ ├── js/ # Client-side JavaScript
│ │ ├── validation.js # Form validation
│ │ ├── animations.js # UI animations
│ │ ├── maps.js # Maps integration
│ │ ├── carbon.js # Carbon footprint calculator
│ │ ├── panicButton.js # Panic button feature
│ │ ├── locationTracking.js # Real-time location tracking
│ │ └── safetyAlerts.js # Safety alerts and notifications
│ └── images/ # Image assets
│ ├── logo.png # LoopLane logo
│ ├── icons/ # UI icons
│ └── backgrounds/ # Background images
├── views/ # EJS templates
│ ├── partials/ # Reusable components
│ │ ├── header.ejs # Site header
│ │ ├── footer.ejs # Site footer
│ │ ├── navigation.ejs # Navigation menu
│ │ └── safetyBanner.ejs # Safety alerts banner
│ ├── pages/ # Page templates
│ │ ├── home.ejs # Landing page
│ │ ├── login.ejs # Login page
│ │ ├── register.ejs # Registration page
│ │ ├── rider-dashboard.ejs # Rider dashboard
│ │ ├── passenger-dashboard.ejs # Passenger dashboard
│ │ ├── ride-posting.ejs # Ride creation form
│ │ ├── search.ejs # Ride search page
│ │ ├── booking.ejs # Booking confirmation
│ │ ├── payment.ejs # Payment page
│ │ ├── profile.ejs # User profile
│ │ ├── feedback.ejs # Feedback form
│ │ ├── notifications.ejs # Notifications page
│ │ ├── safety.ejs # Safety resources and emergency contacts
│ │ ├── report.ejs # Report issue page
│ │ ├── panic.ejs # Panic alert page
│ │ └── admin/ # Admin pages
│ │ ├── dashboard.ejs # Admin dashboard
│ │ ├── users.ejs # User management
│ │ ├── rides.ejs # Ride management
│ │ ├── reports.ejs # System reports
│ │ ├── safety.ejs # Admin safety management
│ │ └── flaggedUsers.ejs # Flagged user accounts
│ └── errors/ # Error pages
│ ├── 404.ejs # Not found
│ └── 500.ejs # Server error
├── utils/ # Utility functions
│ ├── validators.js # Input validation
│ ├── helpers.js # Helper functions
│ ├── carbonCalculator.js # Carbon emission calculator
│ ├── safetyUtils.js # Safety-specific utilities
│ └── encryption.js # Encryption for sensitive user data
└── middleware/ # Express middleware
├── auth.js # Authentication middleware
├── errorHandler.js # Error handling
├── safetyFeatures.js # Safety feature middleware (e.g., panic alerts, location sharing)
├── roleMiddleware.js # Role-based access control
├── reportValidation.js # Validating reports before submission
└── verification.js # Identity and profile verification system
please give every file please dont miss anything
I'll create all the files according to the structure you provided. This is a comprehensive carpooling platform, so I'll implement each file with the necessary functionality.
Let's start with the core files and work through the entire structure:
Please make sure to add the following environment variable to your project:
I'll continue providing the remaining files according to the project structure. Let's start with the remaining controllers, routes, and other files:
once think about all the real world cases in the car pooling but as of now use react but not type script and also without api keys like google or anything dont include features which include api key beacause this was my personal project showcasing untill the react and all please give prompt to give an ai explain the ai with file strcture
use react ,mongodb
front end need to be exceptionally good
PLEASE GIVE AN GOD LEVEL OF PROMPT WITH YOUR INTELLIGENCE IT MADE THAT AI TO GENERATE MY WEBSITE WITH MY REQUIREMENTS WITH EXCEPTIONALLY GREAT FRONTEND
WITH VERY VERY GREAT ANIMATIONS EVERY WHERE AND WITH ALL FUNCTIONALITIES
You can send messages while the preview loads