npm install
npm run start:development
npm run start:production
This method and endpoint are used to retrieve existing data entries.
You can use Postman to send a GET request to:
Fetch all data: http://localhost:3000/test
http://localhost:3000/test
Fetch specific data by ID (replace [dataID] with the actual data ID): http://localhost:3000/test/test_id=[dataID]
http://localhost:3000/test/test_id=[dataID]
Fetch specific data by Name (replace [dataName] with the actual data Name): http://localhost:3000/test/test_name=[dataName]
http://localhost:3000/test/test_name=[dataName]
Fetch specific data by ID and Name (replace [dataID] and [dataName] with the actual data ID): http://localhost:3000/test/test_id=[dataID]&test_name=[dataName]
http://localhost:3000/test/test_id=[dataID]&test_name=[dataName]