feat(auth): implement email/password login form

This commit is contained in:
dhinesh-m24
2026-01-28 15:33:05 +05:30
parent 959a8c41e9
commit 6e81a062ab
18 changed files with 4287 additions and 8 deletions

View File

@@ -1,11 +1,28 @@
import React from 'react';
import { Provider } from 'react-redux';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import AppRoutes from './routes';
import { store } from './store/store';
import { initializeAuthPersistence } from './services/authService';
// Initialize the QueryClient
const queryClient = new QueryClient();
function App() {
// Initialize Firebase Auth persistence
initializeAuthPersistence();
/**
* Root Application Component.
* Wraps the app with Redux Provider and React Query Provider.
*/
const App: React.FC = () => {
return (
<div className="bg-black">
<h1 className="text-white">Hello World</h1>
</div>
)
}
<Provider store={store}>
<QueryClientProvider client={queryClient}>
<AppRoutes />
</QueryClientProvider>
</Provider>
);
};
export default App
export default App;