typescript React App sample with Firebase Authentication.
supported Firebase login/register methods:
- Email and Password
9.0.1
ref.(JP):
- 【完全版】React の Firebase Authentication(認証)を基礎からマスターする
- 【React/TypeScript】Firebase でメール認証と Google 認証を実装する
- [Firebase] Authentication で Facebook 認証 (Web 編) etc.
$ cd app
$ npm i
setup Firebase config parameters on .env file. copy .env.sample and fill parameters.
$ yarn start
Facebook login requires secure connection. It fails when redirect URI is not https.
For example, by using SteveLTN/https-portal image, container can forward request: https://localhost:3443 to http://localhost:3000. If not work, add following lines to docker-compose.yml.
extra_hosts:
- "host.docker.internal:172.17.0.1"
$ docker-compose up -d
Ignore security warning on Chrome Browser.
chrome://flags/#allow-insecure-localhost