Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 879 Bytes

readme.md

File metadata and controls

31 lines (20 loc) · 879 Bytes

Project Name

Short project description.

Installation

  1. Clone the repository.
  2. Install the dependencies using npm install.

Usage

  1. Start the server using npm start.
  2. Access the API endpoints using the appropriate URLs and HTTP methods.

API Endpoints

  • GET /api/tables: Retrieve a list of existing tables.
  • GET /api/tables/:id: Retrieve the columns and rows of the table with the specified ID.
  • POST /api/tables: Accept new table data and store it on the server.
  • PUT /api/tables/:id: Update the column and row data for a specific table.
  • DELETE /api/tables/:id: Delete a specific table.

Testing the APIs

To test the APIs, you can use cURL commands or any HTTP client of your choice. Here are some examples of cURL commands to test the endpoints:

  • Retrieve a list of existing tables:

    curl http://your-server-url/api/tables