There was an error while loading. Please reload this page.
Welcome to the Nearby Hostels Setup Guide! Here you'll find step-by-step instructions to get the project up and running.
Before you begin, make sure you have the following installed:
Create a .env.local file in the root directory with the following variables:
.env.local
# Database Configuration DATABASE_URL="postgresql://username:password@localhost:5432/hostel_management" # Firebase Configuration (for authentication) NEXT_PUBLIC_FIREBASE_API_KEY="your-firebase-api-key" NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="your-project.firebaseapp.com" NEXT_PUBLIC_FIREBASE_PROJECT_ID="your-project-id" NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="your-project.appspot.com" NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="123456789" NEXT_PUBLIC_FIREBASE_APP_ID="your-app-id" # Cloudinary Configuration (for image uploads) CLOUDINARY_CLOUD_NAME=your_cloud_name CLOUDINARY_API_KEY=your_api_key CLOUDINARY_API_SECRET=your_api_secret