Skip to content

A simple Holiday Calendar web application written using Flask.

License

Notifications You must be signed in to change notification settings

rat9615/flask-holcalendar

Repository files navigation

flask-holcalendar

A simple Holiday Calendar web application written using Flask. The application uses Google Sheets as the back-end to get information pertaining to the holiday calendars of offices.

Flask is used as the web framework for building the application. HTML, CSS and jQuery is used for front-end development.

Demo

Imgur

Built With

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Create the Google Sheets API key from here.
  • Download the credentials.json file and keep it aside.

Installation

  • Clone the repo: git clone https://github.com/rat9615/flask-holcalendar.git.
  • Change directory:cd flask-holcalendar.
  • Create a folder called google_api_client_keys in the root directory : mkdir google_api_client_keys.
  • Move the credentials.json file to google_api_client_keys directory.
  • A sample excel sheet consisting of various holiday calendars for offices is kept in the sample folder. Add it to your Google Sheets (Spreadsheet).
  • Obtain the spreadsheetID and add it to the sheet_id variable in contojson.py and holiday.py scripts.
  • Run pip install -r requirements.txt in your terminal.

Run

After installation type the following command in your terminal to run the application.
python routes.py

Note

If you want to send email through the Contact Us form, make sure you have entered all the required credentials in the scripts.

About

A simple Holiday Calendar web application written using Flask.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published