Short project description.
- Clone the repository.
- Install the dependencies using
npm install
.
- Start the server using
npm start
. - Access the API endpoints using the appropriate URLs and HTTP methods.
- 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.
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