https://github.com/gitanat/vacation_scheduler
A javascript+python web app for managing vacations of corporate employees
https://github.com/gitanat/vacation_scheduler
Last synced: 10 months ago
JSON representation
A javascript+python web app for managing vacations of corporate employees
- Host: GitHub
- URL: https://github.com/gitanat/vacation_scheduler
- Owner: gitanat
- Created: 2014-04-28T15:51:23.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-04T13:25:32.000Z (about 11 years ago)
- Last Synced: 2025-02-05T10:14:39.973Z (over 1 year ago)
- Language: JavaScript
- Size: 446 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Project overview
This is a web app that allows corporate employeees to schedule vacations with a single click.
# Technology used
- [Flask](http://flask.pocoo.org/), a python web microframework
- The [SQLAlchemy](http://www.sqlalchemy.org/) [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping), with [it's flask extension](https://pythonhosted.org/Flask-SQLAlchemy/), for the database backend
- [WTForms](https://wtforms.readthedocs.org/en/latest/), with [it's flask extension](https://flask-wtf.readthedocs.org/en/latest/), for HTML form handling
# Project technical overview
`models.py` holds all model (data) related code.
`views.py` contains the URL handlers (entry points)
# Configuration
`configuration.py` contains the application configuration.
`SQLALCHEMY_DATABASE_URI` is the URI for the database. This is handled by SQLAlchemy, and can use many different DB engines (SQLite, MySQL, PostgreSQL, etc)
`DEBUG` controls whether the application is in debug mode, which will catch exceptions and allow interactive debugging in the browser, amongst other things.
`SECRET_KEY` is a random string that should be changed for each installation.
`FORBID_MODIFY_PAST` prevents users from modifying past vacations. A "feature" for distrustful management
`FORBID_MODIFY_PAST_YEAR` prevents users from modifying vacations from any other year than the current one. **This MUST be enabled on the current codebase, otherwise the database will become consistent and must be fixed manually**
# More documentation
Documentation on deployment and administration (and possibly others) is available in the `doc` directory