diff --git a/frontend/.env.example b/frontend/.env.example new file mode 100644 index 0000000..454d757 --- /dev/null +++ b/frontend/.env.example @@ -0,0 +1,7 @@ +# API Configuration +# Base URL for the Spring Boot backend service +NEXT_PUBLIC_API_BASE_URL=http://localhost:8080 + +# Mock API Toggle +# Set to 'true' to use the frontend mock layer, or 'false' to call the real backend +NEXT_PUBLIC_USE_MOCK_API=true diff --git a/frontend/.gitignore b/frontend/.gitignore index 5ef6a52..7b8da95 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -32,6 +32,7 @@ yarn-error.log* # env files (can opt-in for committing if needed) .env* +!.env.example # vercel .vercel diff --git a/frontend/components/.gitkeep b/frontend/components/.gitkeep new file mode 100644 index 0000000..19efbec --- /dev/null +++ b/frontend/components/.gitkeep @@ -0,0 +1 @@ +# Gitkeep to track empty components directory diff --git a/frontend/lib/.gitkeep b/frontend/lib/.gitkeep new file mode 100644 index 0000000..e90333d --- /dev/null +++ b/frontend/lib/.gitkeep @@ -0,0 +1 @@ +# Gitkeep to track empty lib directory