- Fork the repo
- create
.env
file in your root directory and copy and paste from.env_example
- Change values to your own variables
- run
npm install
oryarn
inside your project directory - Make sure you have a backend that accepts whatever info is needed in
setSession
method insideAuth.js
setSession = async authResult => {
...
...
const user = {
email: decoded.email,
username: decoded.nickname
};
...
...
}