Api

Description

Backend API build with Nestarrow-up-right Framework.

This project uses @nestjsx/crudarrow-up-right to simplify and standardize the REST API

Built with

Development

Run

Postgres

start Postgres

if error The container name "/postgres" is already in use by container, remove orphan container.

connect Postgres running on local k8s

Run Dev Mode

Run Prod Mode

API URL: http://localhost:3000arrow-up-right

Swagger Docs URL: http://localhost:3000/docsarrow-up-right

Build

build for production env

Commands

Generate

scaffolding nest artifacts For more details checkout playbookarrow-up-right

Unit Test

coverage will be generate in coverage/apps/api

E2E Test

Health

check API App health

local

http://localhost:3000/health/livearrow-up-right http://localhost:3000/health/readyarrow-up-right

prod

https://api.kashmora.com/livearrow-up-right https://api.kashmora.com/readyarrow-up-right

Reference

Last updated