issues
search
emi420
/
hmap
The goal of this project is to create an easy-to-use humanitarian map for work before, during and disaster events.
GNU General Public License v3.0
0
stars
1
forks
source link
Feature #37 frontend app deployment
#45
Closed
devnano
closed
2 years ago
devnano
commented
2 years ago
Git add gh-pages. Following
https://github.com/gitname/react-gh-pages
.
Add CNAME file and set api url. TODO take these from ENV vars.
Git add gh-pages. Following
https://github.com/gitname/react-gh-pages
.
Changed login approach from cookie based to JWT mechanism. This is to avoid having cross domain cookie reading troubles.
Backend: Integrate and configure Simple JWT.
Fronted: change api and sagas to JWT login approach & handle auto JWT access and refresh token headers. Approach based on
https://medium.com/swlh/handling-access-and-refresh-tokens-using-axios-interceptors-3970b601a5da
.