Skip to content

A simple and functional Daily Planner web application that helps users manage their tasks efficiently.

Notifications You must be signed in to change notification settings

ralu2004/Daily-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—“οΈ Daily Planner Web Application

A simple yet powerful Daily Planner web app designed to help users efficiently manage their daily tasks. Built with the MVC architecture, this app cleanly separates data handling, business logic, and user interface β€” ensuring maintainability and scalability.


🎯 Features

  • Full CRUD operations: Create, Read, Update, and Delete tasks effortlessly
  • Organize tasks by date and time for effective daily planning
  • Clean, responsive UI that works seamlessly across devices
  • Smooth user experience with dynamic, interactive elements

πŸ› οΈ Tech Stack

  • PHP – Backend logic and MVC framework structure
  • PostgreSQL – Robust database for persistent task storage
  • HTML5 & CSS3 – Responsive and modern frontend design
  • JavaScript – Dynamic behavior and UI interactivity

🧩 Architecture

This application follows the Model-View-Controller (MVC) pattern to keep the code modular and maintainable:

  • Model: Handles data and business logic (task management, database interactions)
  • View: Responsible for displaying the UI to the user (HTML/CSS templates)
  • Controller: Processes user input and interacts with the Model to update Views accordingly

πŸš€ Getting Started

  1. Clone the repository:
    git clone https://github.com/your-username/daily-planner.git
    cd daily-planner
  2. Set up the PostgreSQL database: Create a database named daily_planner:
    CREATE DATABASE daily_planner;
    Import the provided schema (replace path/to/schema.sql with the actual path):
    psql -U your_username -d daily_planner -f path/to/schema.sql
  3. Configure the database connection:
    <?php
     $db_host = 'localhost';
     $db_name = 'daily_planner';
     $db_user = 'your_username';
     $db_pass = 'your_password';
     
     $dsn = "pgsql:host=$db_host;dbname=$db_name";
     try {
         $pdo = new PDO($dsn, $db_user, $db_pass);
         // Set error mode
         $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
     } catch (PDOException $e) {
         echo 'Connection failed: ' . $e->getMessage();
     }
     ?>
  4. Run the application: Host the project on a local server with PHP support (e.g., Apache, Nginx) and open it in your browser.

License

This project is licensed under the MIT License.

Author

Raluca Adam
GitHub: @ralu2004

About

A simple and functional Daily Planner web application that helps users manage their tasks efficiently.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published