PROJECT REQUIREMENTS
- Users create accounts. ○ Payload to be sent to the backend. Endpoint https://dial-a-delivery-test.uc.r.appspot.com/api/agent/create Sample body: { firstname: “John”, surname: “Doe”, phone: “+263700000000”, email: “johndoe@gmail.com”, role: “admin”, country: “Zimbabwe”, password: “12345”, password1: “12345” }
- User login. ○ Users should provide email and password for authentication. Endpoint https://dial-a-delivery-test.uc.r.appspot.com/api/agent/login
- View dashboard if user is authenticated. Tools to be used:
- React JS
- Material UI
- Redux
- Git for version control
- Github for remote repository
- Use jwt decode to decode the token