in AuthService.js, added token to cookies to be able to use in further requests
in httpClient.js, used the token in cookies and added to default headers
in EventDetailScreen.js, used useAuth to fetch me for getEvent request, for activity stream. Fixed object keys.
in EventService.js, removed mock data. Connected getEvent, postComment, acceptUser, rejectUser to backend.
in package.json and package-lock.json, added universal-cookie
in ParticipantsScreen.jsx, used useAuth to fetch me for acceptUser, rejectUser and getEvent requests, for activity stream. Fixed object keys.
in Profile.css, implemented styles.
in Profile.jsx, fixed CustomCard styles.Fixed object keys. Added necessary props to components. Implemented empty styles.
in profile.test.js, fixed test failing due to ProfileInformation component props change.
in UserService.js, removed mock data. Connected getUserInfo, followUser, unfollowUser with backend.
in AuthService.js, added token to cookies to be able to use in further requests in httpClient.js, used the token in cookies and added to default headers in EventDetailScreen.js, used useAuth to fetch me for getEvent request, for activity stream. Fixed object keys. in EventService.js, removed mock data. Connected getEvent, postComment, acceptUser, rejectUser to backend. in package.json and package-lock.json, added universal-cookie in ParticipantsScreen.jsx, used useAuth to fetch me for acceptUser, rejectUser and getEvent requests, for activity stream. Fixed object keys. in Profile.css, implemented styles. in Profile.jsx, fixed CustomCard styles.Fixed object keys. Added necessary props to components. Implemented empty styles. in profile.test.js, fixed test failing due to ProfileInformation component props change. in UserService.js, removed mock data. Connected getUserInfo, followUser, unfollowUser with backend.