Skip to content

SaidTorres3/CalDav-NodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalDav Node.js

This is a SUPER BASIC example of a CalDav server implemented in Node.js. It is designed for learning purposes to practically show how a CalDav server can be implemented. It is not made for production use, only for educational use.

Description

This project implements a very basic CalDav server using Node.js. It allows basic operations such as retrieving, updating, and deleting calendar data.

Features

  • GET /caldav: Retrieves calendar data.
  • PUT /caldav: Updates or adds a new event to the calendar.
  • DELETE /caldav: Deletes calendar data.

Installation

  1. Clone this repository:
    git clone https://github.com/SaidTorres3/CalDav-NodeJS.git
  2. Navigate to the project directory:
    cd CalDav-NodeJS
  3. Install the dependencies:
    npm install

Usage

  1. Start the server:
    npm run start
  2. The server will be listening on port 8008.
  3. Create a new calendar with the URL http://localhost:8008/caldav in a calendar client like Thunderbird. It doesn't require login.

All the data is stored in /data/calendar.ics.

About

SUPER BASIC example of a CalDav server implemented in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors