Code Monkey home page Code Monkey logo

alarm_project_en's Introduction

TrainAlarm

Project Name: TrainAlarm
Devopement Time:2020年11月~2021年2月
Language:PHP
DB:MySQL(MariaDB)
Utility:jQuery、Bootstrap
Development Environment:PHPStorm

Overview:

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

How to use:

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.

Functions:

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.

File Overview:

/access

dbh.access.php・・・Contains the database access information

/add

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

/function

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.

/includes

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

/ Main Directory

Files included the webpage layouts used in building the frontend.

alarm_project_en's People

Contributors

felipemfm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.