bounswe / 2021SpringGroup5

4 stars 4 forks source link

feature/services-fixes #635

Closed zudiay closed 2 years ago

zudiay commented 2 years ago

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.

umutgun17 commented 2 years ago

I reviewed it. I need some fixed features. There is no confliction. I merged it.