Fake-Backend
* React js
Set
REACT_APP_DEFAULTAUTH=fake
in the
.env
file. Remove the firebase setup code from the
App.js
file. Now just uncomment the below fake-backend setup code in the
App.js
file. import fakeBackend from "./helpers/AuthType/fakeBackend" // Activating fake backend fakeBackend();
* Vite + React js
Set VITE_APP_DEFAULTAUTH=fake
in the .env
file. Remove the firebase setup code from the
App.jsx
file. Now just uncomment the below fake-backend setup code in the
App.jsx
file. import fakeBackend from "./helpers/AuthType/fakeBackend" // Activating fake backend fakeBackend();