Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.02 KB

ERP V2 NestJS API

This is the API documentation for the ERP V2 NestJS API.

API Endpoints

Endpoint 1

  • URL: /endpoint1
  • Method: GET
  • Description: Add a brief description of what this endpoint does here.
  • Query Parameters: param1, param2
  • Body: { "key1": "value1", "key2": "value2" }
  • Response: { "responseKey1": "responseValue1", "responseKey2": "responseValue2" }

Endpoint 2

  • URL: /endpoint2
  • Method: POST
  • Description: Add a brief description of what this endpoint does here.
  • Query Parameters: param1, param2
  • Body: { "key1": "value1", "key2": "value2" }
  • Response: { "responseKey1": "responseValue1", "responseKey2": "responseValue2" }

To generate types for sql queries (fyi: not an orm)

teller run pnpm run kysely-codegen
docker tag erp-v2-nestjs-api:latest registry.digitalocean.com/kmc-docker-registry/erp-v2-nestjs-api:latest && docker push registry.digitalocean.com/kmc-docker-registry/erp-v2-nestjs-api:latest