blankfactor

module
v0.0.0-...-df736e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: MIT

README

Start

  • Create .env file from .env.example
  • Run run the project:
sudo make up
  • Build or rebuild the project:
sudo make bu
  • Stop the project:
sudo make down

Endpoints

Get all events
curl --request GET localhost:8080/api/v1/events/get-all
Create event
curl --header "Content-Type: application/json" \
     --request POST \
     --data '{"start_time": "2023-05-16T23:30:00.000Z", "end_time": "2023-05-17T00:00:00.000Z"}' \
     http://localhost:8080/api/v1/events/create
Get Overlaping events
curl --request GET localhost:8080/api/v1/events/get-overlaping

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL