markaspot/mark-a-spot 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

markaspot/mark-a-spot

Composer 安装命令:

composer create-project markaspot/mark-a-spot

包简介

Mark-a-Spot is a Drupal distribution for crowdmapping and public civic issue tracking

README 文档

README

Mark-a-Spot Logo

Open-Source Civic Issue Tracking · Drupal 11 · Open311

Docker Image CI License: GPL v2+ Drupal: 11

Features

  • Citizen Reporting – Photos, descriptions, geolocation
  • Interactive Maps – Pinpoint locations, clustering, filtering
  • Open311 API – Standard GeoReport v2 integration
  • Workflow Management – Track issues from report to resolution

Built for municipalities, public service departments, and civic tech organizations.

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     Frontend (PWA)                          │
│         Vue 3 · TypeScript · Tailwind · MapLibre            │
└─────────────────────────────┬───────────────────────────────┘
                              │
                    HTTPS/JSON (REST)
                              │
┌─────────────────────────────▼───────────────────────────────┐
│                    Drupal 11 Backend                        │
│                                                             │
│  ┌──────────────────────┐  ┌──────────────────────┐        │
│  │     Open311 API      │  │       JSON:API       │        │
│  │     (GeoReport)      │  │        (CRUD)        │        │
│  └──────────────────────┘  └──────────────────────┘        │
└─────────────────────────────────────────────────────────────┘

Quick Start

Requires DDEV.

git clone https://github.com/markaspot/mark-a-spot.git
cd mark-a-spot
ddev start
ddev ssh
./scripts/start.sh -y
exit

Access:

Installation Options

Flag Description
-y Autopilot mode (defaults: New York, en_US)
-t Import Drupal translation files
-a AI content translation (requires OPENAI_API_KEY)

Combine flags as needed: ./scripts/start.sh -t -a

Multilingual Setup

Use -t for Drupal translations, -a for AI-powered content translation. Requires OPENAI_API_KEY. See ./scripts/start.sh --help for details.

API

Implements the Open311 GeoReport v2 standard.

Endpoint Description
GET /georeport/v2/services.json List service categories
GET /georeport/v2/requests.json List service requests
GET /georeport/v2/requests/{id}.json Get single request
POST /georeport/v2/requests.json Create request

Requirements

  • PHP 8.3+
  • Node.js 22+ (LTS)
  • MySQL 8.0+ / MariaDB 10.6+
  • Composer 2.x

Contributing

License

GPL-2.0-or-later

统计信息

  • 总下载量: 1.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 70
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 70
  • Watchers: 7
  • Forks: 32
  • 开发语言: TypeScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2017-04-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固