Fast API (version 0.4.0) is a Node.js framework for building RESTful APIs by organizing service files in a folder structure. It automatically maps file paths to API endpoints, supports nested folders, and integrates Bluebird promises and Lodash utilities. Unlike other frameworks, it eliminates manual route definitions and auto-generates JSON documentation. Current release is 0.4.0; maintenance is sporadic with no recent updates.
npm install fast-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal server setup using CommonJS require, specifying apiRoot and listening on port 3000.
Consider migrating to a modern framework like Express.js or Fastify.
Ensure each API module exports an object with 'routes' property.
Set 'exposeDocs: false' to disable docs, or ensure 'apiDocsPath' is a valid string.
Define all expected parameters with correct paramType (query, path, etc.) in route configuration.
Always return a promise from service handlers, or use Core.promise (Bluebird) for chaining.
Run 'npm install fast-api' in your project directory.
Use 'const Fast = require("fast-api");' then 'Fast.createServer(...)'.Ensure 'apiRoot' option points to an existing directory containing .js files with routes export.
Add parameter definition with paramType: "path" in the route config for /:id.