feat(api): add typed API client, auth context, and integrate registration/login flows; docs: add backend integration guide and .env.example

This commit is contained in:
2025-09-23 20:45:29 +05:30
parent 9575db91e5
commit df2a2b9412
15 changed files with 556 additions and 20 deletions

3
src/config.ts Normal file
View File

@@ -0,0 +1,3 @@
export const API_BASE_URL =
(import.meta as any)?.env?.VITE_API_BASE_URL ||
'https://api.pennyzo.com/api/v1/general';