Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 949 Bytes

readme.md

File metadata and controls

47 lines (31 loc) · 949 Bytes

Chris Calendar API

Description

This is a simple calendar API called "Chris Calendar" built using Node.js, Express, and MongoDB. It supports CRUD operations for event storage.

Installation

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run npm install to install dependencies.

Tech Stack

  • Node.js
  • Express
  • MongoDB

Features

  • CRUD operations for event storage:
    • Create Event
    • Read Events
    • Update Event
    • Delete Event

API Endpoints

  • POST /event: Create a new event.
  • GET /events: Get all events.
  • GET /event/:id: Get an event by its ID.
  • PUT /event/:id: Update an event by its ID.
  • DELETE /event/:id: Delete an event by its ID.

How to Run

  1. Ensure MongoDB is running.
  2. Run node app.js to start the server.
  3. Server will be running on http://localhost:3000.

License

MIT License


Simply put this content in a README.md file in your project directory.