Notification board for students using Google Apps Script
See the Vietnamese README.md file here
Duong Thai Bao - A student of Cohort 17, Industrial University of Ho Chi Minh city
This project is a personal endeavor aimed at creating a ready-to-use notification system that enables users to store important information visually, especially useful for those working on a project. It utilizes Google Apps Script and basic HTML, eliminating the need for complex server setups.
- Google Account
- Apps Script: Home Page
- Google Forms and Google Sheets
- GitHub Pages, etc., for hosting HTML files
- Create a form with the following fields:
ID
: Used to identify the notification board for each group (Short Answer)TYPE
: Notification type (dropdown or radio button, as preferred) with four types: INFO, IMPORTANT, UPDATE, REQUIRE_ACTION (in uppercase)CONTENT
: Stores the notification message (Paragraph)IS_PINNED
: Radio button with two values: 0 and 1. Select 1 if you want to pin the notification.
- Link the form with Sheets.
- Open the linked Sheet and copy the Sheet ID from the URL:
https://docs.google.com/spreadsheets/d/xxx/edit
wherexxx
is the Sheet ID. - Remember the Sheet name for use in the next steps.
- Create a project.
- Copy the code from
api_appscript.gs
and paste it into the project file. - Update the Sheet ID and name in the code.
- Deploy as a Web App.
- Copy the Web App's Execute Script URL.
- Replace the API URL in the
index.html
file with the URL from your Google Apps Script deployment. - Create test data using the form created above, and fill it out with the ID you specified (recommended format: no spaces, no accents, only A-Z, a-z, 0-9, hyphen
-
and underscore_
). - Test the URL:
index.html?id=xxx&
-
This project was originally developed for personal use, but due to its potential utility, it has been shared with the community as a non-commercial project. Therefore, we are not liable for any damages related to the use of this product.
-
You are welcome to use it for personal purposes. If you commercialize it (including the interface, features built on the original source, or adjusted logic), we kindly request that you acknowledge this free project if possible.