@@ -10,7 +10,6 @@ This system aims to meet those needs.
10
10
## System description
11
11
12
12
This system tracks UTOC's members in a Google Sheets database.
13
- Members can be added manually by adding new rows to the database.
14
13
The database is synchronized with a Google Groups mailing list.
15
14
Finally, a membership sign up form is added to UTOC's website.
16
15
The sign up form asks for membership info (name, email, etc.) as well as payment through PayPal.
@@ -24,35 +23,37 @@ This section presents the 4 different components of the system. Visit each compo
24
23
25
24
The first component is a membership sign up form.
26
25
This form is embedded on our squarespace website and collects both membership information as well as a payment through PayPal buttons.
26
+ This component is simply some HTML + Javascript that is hosted on Firebase Hosting.
27
27
28
28
### [ ` membership-form-backend-trigger ` ] ( ./components/membership-form-backend-trigger )
29
29
30
30
The second component is what receives requests from the membership sign up form.
31
31
It will read the request, send it on to ` membership-form-backend ` and then redirect the user to our welcome page.
32
+ It is hosted as a Google Cloud Function.
32
33
33
34
### [ ` membership-form-backend ` ] ( ./components/membership-form-backend )
34
35
35
- The third component receives the membership sign up form request via ` membership-form-backend-trigger ` .
36
+ The third component receives the membership sign up request via ` membership-form-backend-trigger ` .
36
37
The function verifies that the PayPal transaction is valid, adds the member to our Google Sheets database & Google Group and sends the member a welcome email.
38
+ It is hosted as a Google Cloud Function.
37
39
38
40
### [ ` expired-members-remover ` ] ( ./components/expired-members-remover )
39
41
40
- The fourth component, is a cloud function that runs daily.
41
- This function deletes expired members from the Google group and notifies them. This component is a work in progress.
42
+ The fourth component, is a script that removes expired members from the mailing system
43
+ and sends members an email notifying them of their membership expiry.
44
+ It is hosted as a Google Cloud Function that is triggered daily by the Google Cloud Scheduler.
42
45
43
46
## Next steps
44
47
45
48
If you want to learn more about the system, how it works, how to run it locally, and how to test it, then read the following docs.
46
49
47
- - [ System Architecture ] ( ./docs/System%20architecture .md )
50
+ - [ Adding a Member Manually ] ( ./docs/Adding%20a%20Member%20Manually .md )
48
51
49
- - [ Developer Setup] ( ./docs/Developer%20Setup.md )
50
-
51
- - [ Testing the system] ( ./docs/Testing.md )
52
+ - [ Docs for developers] ( ./docs/For%20Developers.md )
52
53
53
54
- README's for each component (links in headers above)
54
55
55
56
## Contact Info
56
57
57
- The code was developed by Martin Staadecker, webmaster for UTOC in 2020-21 .
58
+ The code was developed by Martin Staadecker, webmaster for UTOC from 2020 to 2022 .
58
59
I'm reachable at
[ [email protected] ] ( mailto:[email protected] ) and happy to answer any questions.
0 commit comments