Code Monkey home page Code Monkey logo

fullcalendar-bs4-php-mysql-json's Introduction

FullCalendar-BS4-PHP-MySQL-JSON

A drag & drop event calendar with data permanence.

FullCalendar with data permanence

Purpose

MySQL/JSON integration with FullCalendar and event recurrence capabilities.

Features

  • Repeating events (NEW!)
    • Supports weekly recurrences
    • Supports regular, all-day, and multi-day events
    • Supports recurrence editing - deletion only
    • Available for JSON
  • Event scheduling
    • JSON scheduling added
  • FC updated from v2.6.1 to v3.9.0
  • BS3 to BS4 update
  • Event title/description hover added
  • Added description field

Getting Started

MySQL

  1. Copy files to localhost
  2. Create a table in DB called calendar, and create the tables found in calendar.sql
  3. Open auth.php and enter your DB credentials
  4. Open index.php from browser

JSON

  1. Copy files to localhost
  2. Open index-json.php from browser

Note: If event editing not "sticking" on refresh, verify file permissions are sufficient. ls -l

Event Structure

JSON Object Event

[{"id":4,
  "rid":4,
  "eventType":"single event",
  "title":"Meeting",
  "description":"some text for meeting",
  "start":"2019-01-11 10:30:00",
  "end":"2019-01-11 12:30:00",
  "color":"#000"
}]

MySQL Event Schema

('id', 'title', 'description', 'color', 'start', 'end')
(5, 'Meeting', 'some text for meeting', '#000', '2019-01-11 10:30:00', '2019-01-11 12:30:00')

Additional Readings & Resources

Built With

  • FC v3.9.0
  • BS4
  • PHP 5/7
  • MySQL/JSON
  • JavaScript/jQuery
  • HTML/CSS

Contributing

Submit a PR and I'll review. Look for untagged/unassigned issues to help with.

Versioning

Version 1.2.0

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

fullcalendar-bs4-php-mysql-json's People

Contributors

waldronmatt avatar rainpwn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.