Add a dev container for one command setup

Aperta
#511 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
74/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, node.js, postgresql, typescript

Direzione di ricerca

Read CONTRIBUTING.md and inspect the existing package scripts and environment variable setup to identify what the test database needs. Add a .devcontainer with Node, a Postgres service, and the test database variables, then document how to use it in CONTRIBUTING.md. Done means a contributor can use the container setup and the documented lint, typecheck, and test commands are available.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted

Summary

A new contributor needs Node, Postgres and several environment files before
the first test can run.

Acceptance criteria

  • Add a .devcontainer with Node, a Postgres service and the test database variables preconfigured.
  • Document it in CONTRIBUTING.md.

Getting started

Fork this repository, clone your fork, and add this repo as upstream:

git clone https://github.com/<your-username>/streamgive-backend.git
cd streamgive-backend
git remote add upstream https://github.com/StreamGive/streamgive-backend.git

Create a branch for this issue:

git checkout -b chore/devcontainer

Suggested commit message:

chore: add a dev container

Run npm run lint, npm run typecheck, and npm test before pushing, then
open a pull request from your fork against main and link this issue. See
the contributing guide for the full contribution guide.

Lingua principale
TypeScript
Stelle
6
Fork
67
Merge medio
9h 2m
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di StreamGive/streamgive-backend

Tutte le issue di StreamGive/streamgive-backend

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.