Skip to content

Commit

Permalink
privacy+terms
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderGi committed Apr 27, 2024
1 parent 7d771f5 commit b383f01
Show file tree
Hide file tree
Showing 6 changed files with 1,951 additions and 8 deletions.
13 changes: 10 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Node Modules
node_modules

# Non server files
# Static files
public
.firebase
firebase.json
.firebaserc

# Editor Config files
.editorconfig
.eslintrc.yml
.eslintignore
Expand All @@ -15,14 +17,19 @@ LICENSE.md
nodemon.json
README.md
.github
.badges
.vscode

# Build files
.badges
source-icons
scripts

# Secrets
.env
.data

# Test Logs
# Tests
test
test.*.log
tap.info

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![LOC](./.badges/lines-of-code.svg)](https://github.com/clr-li/AttendanceScanner)
[![FileCount](./.badges/file-count.svg)](https://github.com/clr-li/AttendanceScanner)
[![WebsiteStatus](https://img.shields.io/website?url=https%3A%2F%2Fattendancescannerqr.web.app%2F)](https://attendqr.com)
[![WebsiteStatus](https://img.shields.io/website?url=https://attendqr.com)](https://attendqr.com)
![Tests](https://github.com/clr-li/AttendanceScanner/actions/workflows/tests.yml/badge.svg)
[![Coverage](./.badges/coverage.svg)](https://github.com/clr-li/AttendanceScanner)

This project uses QR codes to take attendance and a SQLite database to store data of groups, attendees, and events. It uses oauth2 through Firebase Auth to authenticate users has custom authorization logic. Braintree is used as the payment gateway for the electronic payment/subscription system. Automated tests are written using Node Test Runner and Selenium and run through Github Actions. Deployment is done via a docker container with the Node.js express app on Fly.io and static files via Firebase Hosting.
This project uses QR codes to take attendance and a SQLite database to store data of groups, attendees, and events. It uses oauth2 through Firebase Auth to authenticate users and has custom authorization logic. Braintree is used as the payment gateway for the electronic payment/subscription system. Automated tests are written using Node Test Runner and Selenium and run through Github Actions. Deployment is done via a docker container running the Node.js express app on Fly.io and static files via Firebase Hosting.
URL: https://attendqr.com

# Development
Expand Down Expand Up @@ -60,14 +60,15 @@ URL: https://attendqr.com
- Configure Cloudflare: [domains](https://dash.cloudflare.com/ff1b48a9d7c023abb7950e2e6f3a7f7e/domains/attendqr.com)
- [attendqr.com](https://dash.cloudflare.com/ff1b48a9d7c023abb7950e2e6f3a7f7e/attendqr.com)
- Express Admin: [admin panel](https://attendqr.fly.dev/super_admin/index.html)
- Google Cloud Platform Console: [search console](https://console.cloud.google.com/apis/dashboard?project=attendancescannerqr)

## Automated Testing

1. Before running tests, run `npm install` (freshly installs dependencies from package.json) or `npm ci` (install specific dependency versions from package-lock) to make sure dependencies are installed.

2. Then run `npm test` and check the output in the console for the status of the tests. Console logs during test execution will pipe to `test.log` instead of standard out so you wont see logs in the terminal.

3. Linting and automatic formatting can be run with `npm run lint` and `npm run format`.
3. Linting and automatic formatting can be run with `npm run test:lint` and `npm run build:format`.

4. Tests live in the `/test` directory and use the builtin [Node Test Runner](https://nodejs.org/docs/latest-v18.x/api/test.html) framework. New tests are always welcome!

Expand Down
2 changes: 1 addition & 1 deletion public/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Footer extends Component {
<div style="clear: both"></div>
</div>
<div class="copyright">
<p>© 2023. All rights reserved. Images, logos, and content cannot be used without permission.</p>
<p>© 2023. All rights reserved. Images, logos, and content cannot be used without permission. <a href="/legal/terms-of-service.html">Terms</a>. <a href="/legal/privacy-policy.html">Privacy</a></p>
</div>
</footer>
<style>
Expand Down
Loading

0 comments on commit b383f01

Please sign in to comment.