18 lines
288 B
TypeScript
18 lines
288 B
TypeScript
// REQ0047/order-page
|
|
//
|
|
// PURPOSE:
|
|
// - provide api access to backend db for orders
|
|
//
|
|
// RULES:
|
|
// - T.B.A.
|
|
//
|
|
|
|
import axios from 'axios';
|
|
import constants from '../constants';
|
|
|
|
function getOrders() {
|
|
return axios.get(`${constants.API_ENDPOINT}/v1/orders`);
|
|
}
|
|
|
|
export { getOrders };
|