Skip to content

Latest commit

Β 

History

History
77 lines (57 loc) Β· 1.78 KB

File metadata and controls

77 lines (57 loc) Β· 1.78 KB

Swamp Spotter

Code For Change 2026

A mobile-friendly invasive plant species mapper built with Next.js, TypeScript, MongoDB, and Tailwind CSS.

Tech Stack

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Database: MongoDB
  • Styling: Tailwind CSS
  • Linting: ESLint

Features

  • πŸ“± Mobile-first responsive design
  • 🎨 Modern UI with Tailwind CSS
  • ⚑ Fast page loads with Next.js App Router
  • πŸ“¦ PWA-ready with manifest

Pages

  1. Home (/) - Landing page with features and account creation
  2. About (/about) - Mission, values, and team info
  3. Submit (/submit) - Plant sighting submission form
  4. Invasive Plant Guide (/guide) - Information about each species
  5. My Log (/log) - Searchable log of user's submissions
  6. Map (/map) - Interactive invasive plant species map

Getting Started

Prerequisites

  • Node.js 18+ installed
  • npm or yarn

Installation

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

Open http://localhost:3000 in your browser.

Project Structure

src/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ layout.tsx        # Root layout with navigation
β”‚   β”œβ”€β”€ page.tsx          # Home page
β”‚   β”œβ”€β”€ globals.css       # Global styles
β”‚   β”œβ”€β”€ about/
β”‚   β”‚   └── page.tsx      # About page
β”‚   β”œβ”€β”€ map/
β”‚   β”‚   └── page.tsx      # map page
β”‚   β”œβ”€β”€ dashboard/
β”‚   β”‚   └── page.tsx      # Dashboard page
β”‚   └── contact/
β”‚       └── page.tsx      # Contact page
└── components/
    └── Navigation.tsx    # Mobile-responsive navigation

License

See LICENSE for details.