restjs/rest-api

Create Rest API Application

v2.0.0 2025-01-14 04:31 UTC

This package is auto-updated.

Last update: 2025-01-14 04:33:13 UTC


README

Installation

Run the Composer command to install the latest stable version of RestJS:

composer create-project restjs/rest-api

Getting Started

  • Create new Database with mongodb.
  • Configure database variables in .env:
DATABASE_HOST = ''
DATABASE_NAME = ''
ACCESS_TOKEN = ''

Used Feature

json, headers_authorization, upload_file, access_token

Quick links

  1. Get API for GET, POST, PUT, DELETE
  2. Upload File for POST, DELETE

API Routes