All Projects → qas → Boilerplate Nodejs Swagger

qas / Boilerplate Nodejs Swagger

Licence: mit
A Node.js RESTful API application boilerplate with TypeScript, Docker, Koa, Swagger, Jest, and CircleCI

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Boilerplate Nodejs Swagger

Swagger Express Middleware
Swagger 2.0 middlware and mocks for Express.js
Stars: ✭ 543 (+2485.71%)
Mutual labels:  rest-api, openapi, server
Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (+16319.05%)
Mutual labels:  rest-api, openapi, server
Swagger Ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
Stars: ✭ 21,279 (+101228.57%)
Mutual labels:  rest-api, openapi
Swagger Parser
Swagger Spec to Java POJOs
Stars: ✭ 468 (+2128.57%)
Mutual labels:  rest-api, openapi
Datafire
A framework for building integrations and APIs
Stars: ✭ 487 (+2219.05%)
Mutual labels:  rest-api, openapi
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (+1466.67%)
Mutual labels:  openapi, server
Mirakurun
A Modern DTV Tuner Server Service for ISDB.
Stars: ✭ 352 (+1576.19%)
Mutual labels:  openapi, server
Glass Isc Dhcp
Glass - ISC DHCP Server Interface
Stars: ✭ 486 (+2214.29%)
Mutual labels:  rest-api, server
Php Crud Api
Single file PHP script that adds a REST API to a SQL database
Stars: ✭ 2,904 (+13728.57%)
Mutual labels:  rest-api, openapi
Swagger Parser
Swagger 2.0 and OpenAPI 3.0 parser/validator
Stars: ✭ 710 (+3280.95%)
Mutual labels:  rest-api, openapi
Oapi Codegen
Generate Go client and server boilerplate from OpenAPI 3 specifications
Stars: ✭ 806 (+3738.1%)
Mutual labels:  rest-api, openapi
Flask Smorest
DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
Stars: ✭ 317 (+1409.52%)
Mutual labels:  rest-api, openapi
Kanary
A minimalist web framework for building REST APIs in Kotlin/Java.
Stars: ✭ 319 (+1419.05%)
Mutual labels:  rest-api, server
Express Openapi Validator
🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
Stars: ✭ 436 (+1976.19%)
Mutual labels:  rest-api, openapi
Safrs
SqlAlchemy Flask-Restful Swagger Json:API OpenAPI
Stars: ✭ 255 (+1114.29%)
Mutual labels:  rest-api, openapi
Awesome Openapi3
😎 A list of awesome projects related to OpenAPI 3.0.x, curated by the community
Stars: ✭ 469 (+2133.33%)
Mutual labels:  openapi, server
Flasgger
Easy OpenAPI specs and Swagger UI for your Flask API
Stars: ✭ 2,825 (+13352.38%)
Mutual labels:  rest-api, openapi
Django Ninja
💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Stars: ✭ 875 (+4066.67%)
Mutual labels:  rest-api, openapi
Open Api
A Monorepo of various packages to power OpenAPI in node
Stars: ✭ 497 (+2266.67%)
Mutual labels:  rest-api, openapi
Apispec
A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..
Stars: ✭ 831 (+3857.14%)
Mutual labels:  rest-api, openapi
Koa REST API Boilerplate

Node.js RESTful API Boilerplate

Boilerplate for Node.js Koa RESTful API application with TypeScript, Docker, Swagger, Jest, and CircleCI.

MIT Licence

Koa REST API Boilerplate is a highly opinionated boilerplate template for building a RESTful API application with TypeScript & Koa - this template comes loosely-typed.

This boilerplate includes the following features:

  • tsoa for autogenerated Swagger documentation, routes, and request validation
  • Style and linting with Google TypeScript style
  • Multi-process clustering with production-ready process manager PM2
  • Log rotation and log management using Winston
  • A tiny optimized Docker image based on Alpine image
  • Continuous integration and delivery using CircleCI
  • Unit and Integration tests along with test Coverage using Jest testing framework

Getting Started

$ git clone https://github.com/https://github.com/qas/boilerplate-server-node-swagger-api your-project-name
$ cd your-project-name
$ rm -rf .git && git init
$ yarn
$ yarn build
$ yarn start

Commands

Run

# Run normally
$ yarn start
# Run the application with Docker for development with Nodemon
$ docker-compose up
$ curl localhost:7070/v1/spec
$ curl localhost:7070/v1/health

Test

sfrkh.png

# Test
$ yarn test                           # Run all test
$ yarn test:unit                      # Run only unit test
$ yarn test:e2e                       # Run only integration test
# Test (Watch Mode for development)
$ yarn test:watch                     # Run all test with watch mode
$ yarn test⌚️unit                # Run only unit test with watch mode
$ yarn test⌚️e2e                 # Run only integration test with watch mode
# Test Coverage
$ yarn test:coverage                  # Calculate the coverage of all test
$ yarn test:coverage:unit             # Calculate the coverage of unit test
$ yarn test:coverage:e2e              # Calculate the coverage of integration test
# Test consistent coding style (Lint)
$ yarn lint                           # Lint all sourcecode

Archive

$ yarn pack

Contributing

This project follows the Contributor Covenant Code of Conduct.

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or ask feature requests.

License

Provided under the terms of the MIT License.

Copyright © 2018, Qasim Soomro.

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].