Skip to content

Repository files navigation

Interface Data API

npm License Discord Documentation

A declarative framework for building data-driven REST APIs with automatic CRUD operations. Interface Data API connects your database models to API endpoints with built-in validation, access control, foreign key resolution, and pagination.

Installation

npm install @antelopejs/interface-data-api

Documentation

Detailed documentation is available in the docs directory:

  • Introduction - Overview, key features, and quick start
  • Data Controllers - Create and configure data controllers
  • Routes - Default routes, custom routes, and route options
  • Access Rights - Control field read/write permissions with per-action overrides
  • Validators - Field-level validation and mandatory fields
  • Listable Fields - Pagination, pluck modes, and sorting
  • Foreign Keys - Establish relationships between tables
  • Filters - Add filtering capabilities to list endpoints
  • Modifiers - Automatic data transformation with database-decorators
  • Joined Fields - Flatten a remote field onto rows for native sort/filter
  • Computed Fields - In-database computed values, sortable and pageable natively

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

A robust framework for building data-driven APIs with a focus on CRUD operations. Interface Data API extends the core API interface with specialized functionality for handling database records, making it simple to create RESTful endpoints for your data models.

Resources

Code of conduct

Security policy

Stars

1 star

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages