Rebrand application from 'Beach Litter Mapping Platform' to 'Litter Scouts'

- Updated app name in all source files, documentation, and configuration
- Changed package names in package.json files
- Updated header, titles, and user-facing text
- Modified email templates and notification text
- Updated steering rules and spec documents
This commit is contained in:
2025-11-18 00:31:44 +00:00
parent 6c38df7210
commit 0e05769581
28 changed files with 334 additions and 30 deletions

49
server/Dockerfile Normal file
View File

@@ -0,0 +1,49 @@
# Backend Dockerfile
FROM node:20-alpine AS builder
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci
# Copy prisma schema
COPY prisma ./prisma
# Generate Prisma client
RUN npx prisma generate
# Copy source code
COPY . .
# Build TypeScript
RUN npm run build
# Production stage
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install production dependencies only
RUN npm ci --only=production
# Copy prisma schema and generated client
COPY --from=builder /app/prisma ./prisma
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
# Copy built application
COPY --from=builder /app/dist ./dist
# Create uploads directory
RUN mkdir -p uploads
# Expose port
EXPOSE 3000
# Start the application
CMD ["node", "dist/index.js"]

View File

@@ -1,6 +1,6 @@
# Beach Litter Mapping API
# Litter Scouts API
Backend API server for the Beach Litter Mapping Platform.
Backend API server for Litter Scouts.
## Setup

View File

@@ -1,7 +1,7 @@
{
"name": "beach-litter-api",
"name": "litter-scouts-api",
"version": "1.0.0",
"description": "Backend API for Beach Litter Mapping Platform",
"description": "Backend API for Litter Scouts",
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch src/index.ts",

View File

@@ -22,8 +22,8 @@ async function testEmail() {
const success = await emailService.sendEmail({
to: testEmail,
subject: 'Beach Litter Platform - Test Email',
text: 'This is a test email from the Beach Litter Mapping Platform. If you received this, email notifications are working correctly!',
subject: 'Litter Scouts - Test Email',
text: 'This is a test email from Litter Scouts. If you received this, email notifications are working correctly!',
});
if (success) {

View File

@@ -88,7 +88,7 @@ ${message}
${relatedType && relatedId ? `View details: ${this.getDetailsUrl(relatedType, relatedId)}` : ''}
---
Beach Litter Mapping Platform
Litter Scouts
To manage your notification preferences, visit your profile settings.
`.trim();
@@ -122,7 +122,7 @@ To manage your notification preferences, visit your profile settings.
` : ''}
</div>
<div class="footer">
<p>Beach Litter Mapping Platform</p>
<p>Litter Scouts</p>
<p>To manage your notification preferences, visit your profile settings.</p>
</div>
</div>
@@ -177,8 +177,8 @@ To manage your notification preferences, visit your profile settings.
const success = await this.sendEmail({
to: testEmail,
subject: 'Beach Litter Platform - Email Test',
text: 'This is a test email from the Beach Litter Mapping Platform. If you received this, email notifications are working correctly!',
subject: 'Litter Scouts - Email Test',
text: 'This is a test email from Litter Scouts. If you received this, email notifications are working correctly!',
});
return success;