Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b8330b3
packages: add firebase
eunicejhu Dec 3, 2020
208ecf9
feat: add firebase variables to .env
eunicejhu Dec 3, 2020
afe6824
feat: add Firebase module (FirebaseContext, Firebase, hook)
eunicejhu Dec 3, 2020
de476ca
feat: provide firebase instance to App
eunicejhu Dec 3, 2020
07c3e5d
feat: add auth API to Firebase
eunicejhu Dec 3, 2020
366a05c
feat: add routes to Navbar
eunicejhu Dec 3, 2020
6dace2b
feat: export useFirebase
eunicejhu Dec 3, 2020
f9560c7
feat: add SignUp component (Page, Form, Link)
eunicejhu Dec 3, 2020
77c711c
packages: add ts-jest
eunicejhu Dec 3, 2020
d4f182f
config: update jest.config.js
eunicejhu Dec 3, 2020
84974de
test: add test for SignUp (Page, Form, Link)
eunicejhu Dec 3, 2020
dae52ac
feat: add style for SignUpPage
eunicejhu Dec 4, 2020
67c1f53
fix: singleton instance for Firebase
eunicejhu Dec 4, 2020
8280332
feat: add SignUp route
eunicejhu Dec 4, 2020
b05dd81
feat: add SignIn (page, form) & test
eunicejhu Dec 19, 2020
cdef0e2
feat: add SignoutButton & test
eunicejhu Dec 19, 2020
0329f6d
feat: add SignOutButton to NavBar
eunicejhu Dec 19, 2020
42371d8
feat: reorganize ThemeContext,useTheme into components/Theme
eunicejhu Dec 19, 2020
2b32fde
feat: fix NavBar style
eunicejhu Dec 19, 2020
e54cc68
test: fix NavBar test & snapshot
eunicejhu Dec 19, 2020
1d67667
feat: session handling using global state
eunicejhu Dec 20, 2020
e79f52f
test: setup firebase emulator
eunicejhu Dec 20, 2020
2a273d3
doc: update README (firebase)
eunicejhu Dec 20, 2020
f5f0192
feat: update App test
eunicejhu Dec 20, 2020
60a3908
Revert "test: setup firebase emulator"
eunicejhu Dec 20, 2020
0fccf68
feat: remove unsubscribe listener & update test
eunicejhu Dec 21, 2020
9f957c1
config: udpate package.json collectCoverageFrom
eunicejhu Dec 21, 2020
f0f3edf
test: update Navbar test & snapshot
eunicejhu Dec 21, 2020
08165ad
test: update Route test
eunicejhu Dec 21, 2020
065c9a2
feat: add Session component(AuthContext, useAuthUser hook)
eunicejhu Dec 21, 2020
f1574ed
feat: clean & make use of Session Context and hook
eunicejhu Dec 21, 2020
078dbe4
feat: add PasswordForget (Form, Page, Link) & test
eunicejhu Dec 21, 2020
7c2f911
feat: add PasswordForget Route & Link in SignIn page
eunicejhu Dec 21, 2020
ca7819a
test: clean only
eunicejhu Dec 21, 2020
bbc925e
feat: add PasswordChangeForm & test
eunicejhu Dec 22, 2020
8c2b871
feat: extract StyledPage StyledForm to Page component
eunicejhu Dec 22, 2020
4b7a943
feat: add Account (Component & Route)
eunicejhu Dec 22, 2020
1621095
feat: add useAuthorization hook & test
eunicejhu Dec 22, 2020
26a4f52
feat: protect Account Page using useAuthorization hook
eunicejhu Dec 22, 2020
90b380f
clean: remove sensitive file
eunicejhu Dec 22, 2020
cf8cf75
config: update .gitignore
eunicejhu Dec 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
/src/react-app-env.d.ts
.vscode/
.husky
/todo
/todo

.env
35 changes: 20 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ This project inspired by exercise of 30DaysOfReact

Tech stack:

- React
- React Router
- Redux (redux toolkit)
- Redux-thunk
- Axios
- Jest
- React testing library
- React hooks testing library
- Sass
- typescript
- React
- React Router
- Redux (redux toolkit)
- Redux-thunk
- Axios
- Jest
- React testing library
- React hooks testing library
- Sass
- typescript

Development harness

- ESlint
- Prettier
- Husky
- Storybook
- Github Actions (CI)
- ESlint
- Prettier
- Husky
- Storybook
- Github Actions (CI)

In the project directory, you can run:

Expand All @@ -35,3 +35,8 @@ In the project directory, you can run:

Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

## Firebase

- run emulator: `firebase emulators:start`
- testing with emulator: `firebase.auth().useEmulator("http://localhost:9099/")`
Loading