Inside signin.js
, signup.js
and index.html
, replace the Firebase configuration with your own.
Configuration can be found on the Firebase console after creating a project.
- Inside
signup.js
andsignin.js
, replace theemail
andpassword
with dummy values. - Run
signup.js
andsignin.js
usingnode signup.js
andnode signin.js
respectively. - Get the
accessToken
from the response in the logs. That access token will be used for authenticating requests with the backend.
- Run
index.html
on a local server usinghttp-server
command. - Open the
index.html
in the browser. - Click on the
Sign in
button. - Select the Google account you want to use for signing in.
- Get the
accessToken
from the response in the logs. That access token will be used for authenticating requests with the backend.