All Projects → samchon → Nestia

samchon / Nestia

Licence: mit
Automatic SDK and Document generator for the NestJS

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nestia

Pymessager
Python API to develop chatbot on Facebook Messenger Platform
Stars: ✭ 580 (+917.54%)
Mutual labels:  api, sdk
Openrouteservice R
🌐 R package to query openrouteservice.org
Stars: ✭ 57 (+0%)
Mutual labels:  api, sdk
Themoviedb
A node.js module with support for both callbacks and promises to provide access to the TMDb API
Stars: ✭ 5 (-91.23%)
Mutual labels:  api, sdk
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (+714.04%)
Mutual labels:  api, sdk
Android Pdk
Pinterest Android SDK
Stars: ✭ 49 (-14.04%)
Mutual labels:  api, sdk
Dorita980
Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
Stars: ✭ 523 (+817.54%)
Mutual labels:  api, sdk
Aeris Ios Library
Contains a demo project utilizing the AerisWeather SDK for iOS to help you get started with using our library.
Stars: ✭ 21 (-63.16%)
Mutual labels:  api, sdk
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (+419.3%)
Mutual labels:  api, nestjs
Nodejs
Everything related to the Node.js ecosystem for the commercetools platform.
Stars: ✭ 47 (-17.54%)
Mutual labels:  api, sdk
Waliyun
阿里云Node.js Open API SDK(完整版)
Stars: ✭ 40 (-29.82%)
Mutual labels:  api, sdk
Go Binance
A Go SDK for Binance API
Stars: ✭ 441 (+673.68%)
Mutual labels:  api, sdk
Modio Unity
Unity Plugin for integrating mod.io - a modding API for game developers
Stars: ✭ 53 (-7.02%)
Mutual labels:  api, sdk
Vk Io
Modern VK API SDK for Node.js
Stars: ✭ 401 (+603.51%)
Mutual labels:  api, sdk
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+900%)
Mutual labels:  api, sdk
Huobi python
Python SDK for Huobi Spot API
Stars: ✭ 391 (+585.96%)
Mutual labels:  api, sdk
Gocertcenter
CertCenter API Go Implementation
Stars: ✭ 21 (-63.16%)
Mutual labels:  api, sdk
Strapi Sdk Javascript
🔌 Official JavaScript SDK for APIs built with Strapi.
Stars: ✭ 247 (+333.33%)
Mutual labels:  api, sdk
Jcabi Github
Object Oriented Wrapper of Github API
Stars: ✭ 252 (+342.11%)
Mutual labels:  api, sdk
Vainglory
(*DEPRECATED*: The API no longer exists, so this will no longer work) A Javascript API Client wrapper for Vainglory
Stars: ✭ 32 (-43.86%)
Mutual labels:  api, sdk
Js Api Client
Typeform API js client
Stars: ✭ 51 (-10.53%)
Mutual labels:  api, sdk

Nestia

Automatic SDK generator for the NestJS.

GitHub license npm version Downloads Build Status

Outline

If you're making a backend server with the TypeScript and NestJS, you don't need any extra dedication, for delivering Rest API to the client (front-end) developers, like writing swagger.json comments.

Just generate a SDK library through the Nestia and deliver the SDK library to the client developers. The client developers can call your backend server API just by calling the SDK library functions with await symbol, re-using the interfaces what you've defined.

npm install --save-dev nestia
npx nestia sdk "src/controller" --out "src/api"

If you want to see an example project using the Nestia, click below links:

Usage

Installation

npm install --save-dev nestia
npx nestia sdk "src/controllers" --out "src/api"

Installing the Nestia is very easy.

Just type the npm install --save-dev nestia command in your NestJS backend project.

CLI options

npx nestia sdk <source_controller_directory> --out <output_sdk_directory>

npx nestia sdk "src/controllers" --out "src/api"
npx nestia sdk "src/consumers/controllers" "src/sellers/controllers" --out "src/api

To generate a SDK library through the Nestia is very easy. Just type the nestia sdk <input> --out <output> command in the console. If there're multiple source directories containing the NestJS controller classes, type all of them separating by a space word.

npx nestia install

Also, SDK library generated by the Nestia has some dependencies like below. When you type the nestia install command in the console, those dependencies would be automatically install and would be enrolled to the dependencies field in the package.json

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].