Skip to content

CloudNStoyan/tsoa-project-demo

Repository files navigation

TSOA Project Demo

Instructions

  • Restore npm packages
npm install
  • Convert swagger.json to swagger.yaml
npm run convert-swagger
  • Run all generator scripts in the correct order
npm run generate
  • Run the dev watch mode setup
npm run dev
  • Build the project
npm run build
  • Run prettier format
npm run format
  • Run prettier format check
npm run format-check
  • Run prettier format only on the generated folder
npm run format-generated
  • Run ESLint
npm run lint
  • Run ESLint with auto-fixer
npm run lint:fix
  • Generate client from the swagger schema
npm run generate-client-from-swagger
  • Generate .http files from swagger schema
npm run generate-http-files
  • Run the post-processing on the swagger.json
npm run post-process-swagger

About

A demo project for creating APIs with TSOA

Resources

Stars

Watchers

Forks