Project Name: TrainAlarm
Devopement Time:2020年11月~2021年2月
Language:PHP
DB:MySQL(MariaDB)
Utility:jQuery、Bootstrap
Development Environment:PHPStorm
This Project is a train alarm set up application built on top of a Japan-based public Transportation API.
The API can be found at: https://developer-tokyochallenge.odpt.org/en/info
In the configuration screen, four inputs are prompted to the user. The main script will then process the API based on the inputted information, and if no errors are encountered, the alarm will be set and the configuration will be complete.
Registered users will be able to access their usage history and select their favorites. Also, upon login, the system checks if the user has an active alarm, and if so, redirects the user to the alarm screen.
Users who do not wish to register can still use this application. In that case, you will need to enter your phone number along with the alarm setting information. Then, to return to the alarm screen, select "Confirm Alarm" from the top menu and enter the phone number you used.
dbh.access.php・・・Contains the database access information
footer.add.html・・・Footer used in many files
header.add.php・・・Header used in many files
error_handler.add.php・・・Contains various error/success messages
functions.js ・・・It is used in the alarm configuration form in the index.php file.
functions.php・・・Function used by files in the includes directory.
Files included in this folder will handle the form requests in the main directory
These files will check input information and interact with the database
alarm.inc.php・・・Including what was mentioned above, this file is also where the API processing takes place
Files included the webpage layouts used in building the frontend.