feat(api): Add API structure+communication POC
Objective:
Create a structure and a way to communicate with the backend using zod and axios.
What has been done:
- Added
modelsdirectory with sample zod models - Added
api.tstotypeswhich is a succcesfull POC of extracting typescript interfaces from zod models - Added
apiservice withuseApiQueryhook which fetches and validates data from backend - Added
apiservice utils and structure of queries
Additionally:
- updated eslint config and installed lacking
eslint-config-prettierdev package - added
zod,axiosandaxios-hookspackages