Skip to content

Jaimin7632/angular_scheduler_python

Repository files navigation

Angular scheduler python implementation

https://code.daypilot.org/67423/angular-scheduler-tutorial-typescript

Steps to run:

  1. Setup flask and peewee for python(>=3.5)
  2. Install requirements.txt
  3. Run python ./angular-scheduler-python-backend/app.py

Code conversation:

_db.php : /angular-scheduler-python-backend/database_utils/utils.py -> db_init()
backend_create.php : /angular-scheduler-python-backend/database_utils/utils.py -> create_events()
backend_resources.php : /angular-scheduler-python-backend/database_utils/utils.py -> get_backend_resources()
backend_events.php : /angular-scheduler-python-backend/database_utils/utils.py -> get_backend_events()
backend_move.php : /angular-scheduler-python-backend/database_utils/utils.py -> update_backend_move()


How code structure works ?

  1. Create api name with .php in app.py
    @app.route('/api/backend_create.php', methods=['POST'])
    Note: Reason of using .php in api is we don't want to change frontend for python changes. This will directly setup with current frontend.

  2. Api call the database utils functions.

About

Angular scheduler in python. It's a conversation of php code to python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published