Skip to content

sanchez112zak/wedding-app

Repository files navigation

Wedding RSVP Application

This is a NextJS wedding RSVP application with an admin dashboard for managing guest responses.

🔐 Security Setup (IMPORTANT)

Before running this application, you must set up your environment variables:

  1. Create .env.local in the root directory with your credentials:

    # Database Configuration
    REPLIT_DB_URL=your-database-url-here
    
    # Admin Authentication
    ADMIN_EMAIL=your-admin-email@example.com
    ADMIN_PASSWORD=your-secure-password-here
    
    # Google Maps API (if needed)
    GOOGLE_MAPS_API_KEY=your-google-maps-api-key
    
    # Development settings
    NODE_ENV=development
  2. Never commit .env.local to version control (it's already in .gitignore)

  3. Replace placeholder values in the code:

    • Update the contact email in the footer (pages/index.tsx)
    • Review other placeholder values throughout the application

Getting Started

After setting up your environment variables:

  1. Install dependencies:

    npm install
  2. Run the development server:

    npm run dev
  3. Open http://localhost:3000 in your browser

Features

  • Multi-language support (English/Spanish)
  • Guest RSVP form with meal preferences and dietary restrictions
  • Admin dashboard for managing responses
  • Google Maps integration for guest locations
  • CSV export functionality
  • Responsive design

Admin Access

Access the admin dashboard at /admin using the credentials you set in your environment variables.

API Routes

The pages/api directory contains API endpoints for:

  • RSVP submission
  • Admin authentication
  • Guest management
  • Data export

Learn More

To learn more about Next.js, take a look at the following resources:

Deployment

To deploy your application:

  1. Ensure all environment variables are set in your deployment environment
  2. Run npm run build to create a production build
  3. Use Repl Deployments or your preferred hosting platform

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors