This is a lightweight RESTful API Server scaffolding based on Koa2, supporting ES6. Since the Koa version is upgraded to 2.3.0+, in order to match the corresponding dependencies, the Node.js version is required to be greater than or equal to v8.0.0 (v11.13.0 is recommended), and the NPM version is greater than or equal to v5.0.0. It is recommended to use yarn instead of npm. This scaffolding only installs some necessary plug-ins that do not conflict with Koa2 to build a RESTful API Server, with instructions for each plug-in. Syntax checking with ESlint. Therefore, the scaffolding mainly provides RESTful API, so the front-end static resource processing is not considered for the time being, and only the basic method of static resource access is provided to facilitate access to resources such as pictures uploaded by users to the server. The basic directory structure is consistent with vue-cli and can be used with front-end frameworks such as React, AngularJS, and Vue.js.

Features

  • Directory Structure Description
  • Authentication instructions when integrating NUXT requests
  • Sample code of various mainstream frameworks calling RESTful API (for reference only)
  • Introduction of plug-ins
  • Vue-cli deployment instructions
  • Development environment deployment
  • Supports Node.js native debugging function

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Koa2 RESTful API

Koa2 RESTful API Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Koa2 RESTful API!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks, JavaScript Web Development Software

Registered

2022-11-01