eCamp v3 is a web-based app for camp and course planning. The application is specialized for camps and courses of youth associations and for Y+S offers in the sport of camp sports/trekking.
(deutsche Übersetzung weiter unten)
eCamp is a web application for planning J+S camps, J+S courses and other camps. It helps to exchange all planned programme among the camp organizers.
An older version called "eCamp v2" is productive and can be used at the following address (but only in german): https://ecamp.pfadiluzern.ch
eCamp v3 is the re-development of eCamp with the goal of reimplementing the functionality of eCamp v2 using modern technologies and an extensible architecture. Currently, an MVP (minimum viable product) is in operation. Next, we will focus on course planning, and further extensions will follow later.
The following commonly requested improvements over eCamp v2 are already implemented:
eCamp v3 is made up of a backend based on the PHP framework API Platform (Symfony), which offers an API, as well as a Vue.js frontend and some other smaller services.
Thanks for helping! There are a few ways to get started.
eCamp ist eine Webapplikation, mit welcher J+S-Lager, J+S-Kurse und andere Lager geplant werden können. Dabei verfügen alle Benutzer stets über den aktuellsten Stand der Planung.
Die ältere Version eCamp v2 ist produktiv im Einsatz und kann unter folgender Adresse genutzt werden: https://ecamp.pfadiluzern.ch
eCamp v3 ist die Neu-Entwicklung von eCamp. Das Ziel ist es, die Funktionalität von eCamp v2 mit moderneren Technologien und einer erweiterbaren Architektur neu zu implementieren. Aktuell läuft eine MVP (minimum viable product, minimale nützliche Version). Als Nächstes fokussieren wir uns auf die Kursplanung und später werden dann noch weitere Erweiterungen folgen.
Folgende Verbesserungen, die bei eCamp v2 oft gewünscht wurden, sind bereits implementiert:
Proposal: Move documentation from wiki to files in the repo
https://github.com/ecamp/ecamp3/issues/11479
Labels: 없음
Proposal: Remove pgadmin from the dev setup
https://github.com/ecamp/ecamp3/issues/11476
Labels: Meeting Discuss
Proposal: Remove the /translation directory from the repo
https://github.com/ecamp/ecamp3/issues/11475
Labels: Meeting Discuss
Disable animations in e2e tests
https://github.com/ecamp/ecamp3/issues/11469
Labels: Meeting Discuss
Request to remove OpenAPI Snapshots from API tests
https://github.com/ecamp/ecamp3/issues/11460
Labels: Meeting Discuss
Request to remove php-coveralls from CI
https://github.com/ecamp/ecamp3/issues/11459
Labels: Meeting Discuss
Remove the use of github deployments
https://github.com/ecamp/ecamp3/issues/11455
Labels: Meeting Discuss
Thank you for wanting to help out! :heart:
Danke dass du mithelfen möchtest! Die deutsche Version dieses Dokuments findest du hier.

This is a basic overview of the workflow, i.e. how we work with the code of eCamp v3.
More information about how to set up a development environment on your computer is in the wiki.
If something about the setup is unclear, or you run into an error, there is a setup-help channel on Discord for you to ask questions and ask for help. :computer:
Issues are marked with labels and some of them are not self-explanatory and are explained here:
type: Frontend, type: Print, type: Deployment & type: API the architecture for those are partially documented in the wikiTo get started, find an issue that interests you. If you are new, we recommend selecting a Good first issue. Please note that for other issues we recommend ones with the label Ready for Implementation, which signifies that the issue should have clear definitions. If you are working on an issue, please leave a comment so that we can assign it to you, to make sure that the specifications are still up-to-date, and to prevent two people working on the same issue. Alternatively, open a draft pull request and mention the issue ID to signal that you are working on that particular issue. Please note that while the wiki can be helpful in understanding the project, it's not exhaustive (meaning there might be parts missing or out of date). If you have any questions, please comment on the issue for clarification or ask on Discord. We are happy to help and answer any questions you might have.
We use a triangular git workflow. This means that all changes are first pushed to a contributor's fork of the repository, and then the changes are merged into the main fork via a pull request. If you are an advanced git user, you probably already know how to set this up. In practice, setting up this workflow looks as follows:
Fork the main repository onto your GitHub account. To use the commands your configured git user.name should be exactly your git user name.
If you run the code below, and it outputs your GitHub username you are good to go.
echo $(git config user.name)
If not you should replace the $(git config user.name) parts with your username or run git config --global user.name "YourUsername" with your GitHub username instead of YourUsername
Clone the main repository to your local computer:
git clone https://github.com/ecamp/ecamp3.git
cd ecamp3
Add your fork as a remote:
git remote add "$(git config user.name)" "https://github.com/$(git config user.name)/ecamp3.git"
Configure the central repo for pulling the current state and your own repo for pushing new changes:
git config remote.pushdefault "$(git config user.name)"
git config push.default current
Once this is set up, you can start coding, and all git pull commands should pull from the central repository by default, while all git push commands will push to your fork of the project.
Before starting a new feature, you should do the following steps to start with a clean state that is easily mergeable later:
git fetch --all
git checkout origin/devel
git checkout -b my-new-feature-branch
We use cs-fixer for PHP and ESLint and Prettier for Javascript, HTML & CSS to ensure a common code style. Make sure your code is auto-formatted before committing and pushing to the repository. We recommend to configure your IDE such that your code is auto-formatted on save.
Alternatively you can
# Frontend fixes in running container
docker compose exec frontend npm run lint
# API/PHP fixes in running container
docker compose exec php composer cs-fix
# PDF fixes in running container
docker compose exec pdf npm run lint
# E2E fixes are always run like this
docker compose run --rm --entrypoint="npm run lint" e2e
# Top level formatting is run like this
docker compose run --rm prettier
If you don't have a container of that type running use run instead of execute. Note that this will start a new Docker container (which might not be desired on a device with limited computing resources).
docker compose run --rm frontend npm run lint
docker compose run --rm php com