Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
BibaBot
55b140449d Update README with project overview and getting started guide 2026-03-18 16:06:29 +00:00

View file

@ -1,70 +1,24 @@
# helpyourneighbour
# HelpYourNeighbour
Erster funktionaler Backend-Stand für die Vision:
HelpYourNeighbour is a platform that connects neighbors to help each other.
- Nutzerregistrierung und Login (`/auth/register`, `/auth/login`)
- Hilfeanfragen erstellen/listen (`/requests`)
- Angebote + Gegenangebote + Deal-Annahme (`/offers/...`)
- Bewertungsgrundlage mit 2-14 Tage Prompt-Fenster (`/reviews/:dealId`)
- Datenmodell inkl. postalischer Adress-Verifikation (`backend/sql/schema.sql`)
- Address-Change-Flow mit Briefcode (`/addresses/change-request`, `/addresses/verify`)
- Kontaktdatenaustausch nach Deal (`/contacts/request`, `/contacts/respond`, `/contacts/deal/:dealId`)
- Serverseitige AES-256-GCM-Verschlüsselung für Adresse/Telefon (`DATA_ENCRYPTION_KEY`)
## Features
## Docker-Test (Unraid Host)
- User authentication and authorization
- Neighborhood management
- Task posting and assignment
- Communication tools
```bash
./scripts/test-in-docker.sh
```
## Getting Started
## Start
1. Clone the repository
2. Install dependencies: `npm install`
3. Start the development server: `npm run dev`
```bash
cd backend
cp .env.example .env
npm install
npm run db:init
npm run start
```
## Contributing
## Forgejo Tasks
Please read our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.
- #1 Backend Grundgerüst + Auth API
- #2 Datenmodell für Request/Offer/Negotiation/Deal
- #3 Bewertungssystem 2-14 Tage Verzögerung
- #4 Adressänderung nur per Briefbestätigung
## API Governance
- Dispute-Flow Doku: `docs/dispute-flow.md`
- OpenAPI: `openapi.yaml` (Spiegel: `docs/openapi.yaml`)
- Versioning/Deprecation Policy: `docs/api-versioning.md`
- Rollen- und Rechtekonzept: `docs/roles-and-permissions.md`
## Development Quickstart (auto-synced)
```bash
cd backend
npm install
npm run test:unit
npm run start
```
## Projektstruktur
Das Projekt besteht aus folgenden Hauptkomponenten:
- `backend/` - Node.js Backend mit Express
- `docs/` - Dokumentation und ADRs
- `scripts/` - Hilfsskripte für Tests und Deployment
- `frontend/` - (geplant) React Frontend
## Sicherheit
Alle sensiblen Daten werden serverseitig verschlüsselt. Die Verschlüsselung erfolgt mit AES-256-GCM.
## Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert - siehe die LICENSE-Datei für weitere Informationen.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.