Skip to content

ATLANTBH/atlanters-anonymous

Repository files navigation

Atlanters Anonymous

A completely anonymous feedback form written in javascript.

How does it work?

User feedback is sent to the backend server which routes the message to an e-mail. Absolutely no information is being stored about the user.

Develop using docker compose

You can use docker compose to spin up your local environment. Execute (in root):

docker-compose up --build

--build will ensure that any changes you made locally are propagated inside the app container running in docker compose.

Simply put, this will build the frontend, copy the build folder to the backend and will run 'npm start' in the backend root. Then, in your browser:

localhost:3000

Develop both ends seperately

  • Install nodejs
brew install node

For solving node installation errors, check out this link.

If you want to setup your local environment manually or develop backend or frontend seperately, follow the specific setup guides:

Deployment

To deploy to Kubernetes using Helm with the default values, run the following:

  • deploy postgresql
helm install --name atlanters-anonymous-pg --namespace aa stable/postgresql
  • create a secret with SMTP connection details
cat <<EOF | kubectl apply --namespace aa -f -
apiVersion: v1
kind: Secret
metadata:
  name: atlanters-anonymous-smtp
type: Opaque
data:
  username: $(echo -n "smtp_username" | base64 -w0)
  password: $(echo -n "smtp_password" | base64 -w0)
  email_feedback: $(echo -n "[email protected]" | base64 -w0)
  email_host: $(echo -n "smtp.example.com" | base64 -w0)
EOF
  • deploy the app:
helm install --name atlanters-anonymous --namespace aa ops/helm

To modify the default values, take a look at ops/helm/values.yaml

Contributing

  1. Fork it (https://github.com/ATLANTBH/atlanters-anonymous)
  2. Checkout to develop branch git checkout develop
  3. Create your branch git checkout -b myBranch
  4. Commit your changes git commit -m 'Add some beautiful code'
  5. Push to the branch git push origin myBranch
  6. Create a new Pull Request

Releases

No releases published

Packages

No packages published

Languages