Skip to content

JackSlater/CoherentCalendar

 
 

Repository files navigation

Description below generated by Claude 3.5 Sonnet:

Coherent Calendar

A simple and elegant calendar web application that displays events from an SQL database.

Features

  • Monthly calendar view
  • Event display with details (date, time, location, description, URL)
  • Responsive design
  • Clean and modern UI
  • SQLite database integration

Project Structure

The project follows a clean and maintainable structure:

  • static/: Static assets (CSS, JavaScript)
  • templates/: HTML templates
  • database/: SQL schema and database file
  • app.py: Main Flask application
  • requirements.txt: Python dependencies

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Initialize the database: The database will be automatically created when you run the application for the first time.

  2. Run the application:

python app.py
  1. Visit http://localhost:5000 in your web browser

Code Organization

  • app.py: Contains the Flask application setup, database models, and API routes
  • static/js/calendar.js: Calendar functionality and event handling
  • static/css/styles.css: Styling for the calendar and UI components
  • templates/index.html: Main calendar view template
  • database/schema.sql: SQL schema for the events table

Adding Events

Events can be added directly to the SQLite database. Each event has the following fields:

  • title (required)
  • date (required)
  • time (optional)
  • location (optional)
  • description (optional)
  • url (optional)

Technologies Used

  • Python/Flask
  • SQLAlchemy
  • SQLite
  • HTML5
  • CSS3
  • JavaScript (ES6+)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 41.0%
  • JavaScript 33.1%
  • CSS 16.9%
  • HTML 9.0%