/journal-api

Primary LanguageTypeScript

API Endpoints

The API provides the following endpoints:

  • POST /api/journal/create: Create a journal body {"content": "string"}
  • GET /api/journal/all: List all journal
  • PATCH /api/journal/edit: Edit Journal body {"content": "string"}
  • GET /api/journal: Get individual Journal query id body {content: "string"}

Running server

$ docker build -t app .
$ docker compose up