YDI-YOI Frontend

Team Baas256 · Updated 2022-07-19

Technologies

  • React
  • Javascript
  • CSS

Organization

gOuyR9AN_A05xCUEENWAnLVyZKpR40OrWwi3_uezHRWeFBnMZOrNx8xw8YQSZFFf30fL4V8_RVo12o2t_VYRtISfDrXi3Ai2_azbtpuZxxKfc9SxVzJM5YU80su6Mj5IA7wq2vqbkny9OzblWxDKCU4

Layout

Login

C2-p2XJm8_nyr_3gu69bdAamOtjaChw1y8L5MOFBxcO5jbwk8-X_umYkVtRaWm_2NtwlEc5J59SU5hwFrTZdSFzD6bdk6LI6rZcdZIZextbXM6UXR_XEV2kQdnKIuPf84jBLD5XzJ0aG_1DvHykZe5I

Reset Password

QEbn-02hLI2jHkQmuxb7Rjacy7uoLS-FktiYN2OPZhUFrv_tCFGGtOy4HC_PkoEtpNE9Yk9MwttlNEOECdIR_YerKG0T7D8KH9zntLor-ffgu8SHepBn2xi_EB_UdMY7v7oeIWQFvWrUYmd4WRWQtxk

Register

QAZS6EXWhYTHjsQJ5wZjVpBGBw8OnkLtzXsDw5SNM9VaAW0o0zB7TCL3ZaMGAx8UzCQGPt8Przfw7ylrQkd7EPm0N2LLwBPaZ-nhj9lDpcqzAsIkAJobn9YkuyBiNrcM9iR5HUxoRDhkMc3ThHOzOj0

Add New Tasting

ZPeuTPJXoQv5yq0wQJq0fbBPMV8a8fIB-kVVJjE-RwtJJ--U6xzfGjvt1otTxxcnRwgY-4O_LRNaF5TIArrqCJf2Mw9oIj3WYDI-kl7ntASVE9vOu3BucV423lZz1OrcFi2Ew_0VYQW1biqrC9fftcQ

Tasting

Ap90qKd8K4P1qkhPZ676koYleSYtJiUS6akHkLQI2jx3tZYMurZ5NusVR1CFjAgaI64ZL3t56WNBOKyxspCArWrZesF_YL-xWhVC-mAR7UCbDcn5UG9xnb4g6gexWwbv7sywDH-PyJkxGZCU3zJlB2Y

Profile

adzqm5R-bQbwzk3l1MZtrpKn16sWWm3UzV1EVAVKupwq7A4OhHcZqNIWDN-xCNl3-rG4bQaUe-NqJlV_dMGwBM35jvPDC6j30uFhJ6IXAxeLyh-ayL84zM3K-H0UbBK_Enu5I8w1HCbe4_N6jt2yiuc

Edit Profile

SmOvtypWaJkyk3R8BGYDYS4PDarbNVGy1qU6EOF0JXuxpd6eHMztFK2rTZbtyjViGPjS7MFO1t3SfFyiDvZCV-Gj-4Ayr8p5fGZjJHaZWD_tohNnPYgofZnX1_y2iolUTUtdRK2YOoNR45v-9WZnVN4

Modules

AdminBoard.js

Component - View of admin.

EditProfile.js

Component - Edit Profile view.

Updates profile using update function from services/auth.service.js

ForgotPassword.js

Component - Forgot Password view.

Retrieves new password using resetPassword function from services/auth.service.js

Home.js

Component - Home view.

Public view for users. Actually shows Login view.

Login.js

Component - Login view.

Login into platform using login function from services/auth.service.js

After login it redirects to the Add New Tasting page.

ModBoard.js

Component - View of moderator (actually not using).

NewExperience.js

Component - Add New Tasting view.

Checks if QR is valid using getQRClaimed function from services/qr.service.js

When a user uploads a photo it uploads to IPFS using the onChangeFile function.

Add the new experience using the addExperience function from services/experience.service.js

Profile.js

Component - User Profile View.

Register.js

Component - Register view.

Checks if QR Value is OK using qrService.getQRClaimed() from services/qr.service.js. If QR is not valid, registration is not available.

Register into platform using register function from services/auth.service.js

After Register it redirects to the Add New Tasting page.

SingleExperience.js

Component - Individual view of each tasting.

Actually not in use.

UpdatePassword.js

Component - Update Password View.

Updates new password using updatePassword function from services/auth.service.js

UserBoard.js

Component - User Board View.

Shows all tastings and the possibility to Mint each of them, using createCollectible function.

  • All components use i18next (

https://www.i18next.com/ ) for translations.

CSS

All included in App.css file