Following the live-streamed vidoes on Week X by Andrew Brown and guest instructors, we were able to focus on cleaning up the application and ensuring it is in a stable state.
This process involved a lot of changes which includes;
- Refactor JWT to use decorator, by making changes to
backend-flask/app.py, backend-flask/lib/cognito_jwt_token.py and frontend-react-js/src/components/ReplyForm.js
- Refactor app.py and flask routes, by making changes to backend-flask/app.py, backend-flask/lib/
-cloudwatch.py
-cognito_jwt_token.py
-honeycomb.py
-rollbar.py
-xray.py
Also in the backend-flask/routes/
-activities.py
-general.py
-messages.py
-users.py
And also made changes to frontend-react-js/src/pages/NotificationsFeedPage.js.
Refactor app.py commit flask routes commit
- Worked on replies, made a lot of changes to;
frontend-react-js/src/components/
-ActivityActionReply.js
-ActivityItem.css
-ActivityItem.js
-ReplyForm.js
- Refactoring error handling and fetch requests by making changes to;
backend-flask/db/sql/activities/home.sql and backend-flask/db/sql/activities/show.sql
frontend-react-js/src/components/
-ActivityActionReply.js
-ActivityFeed.css
-ActivityFeed.js
-ActivityForm.js
-FormErrorItem.js
-FormError.js
-FormError.css
-MessageForm.js
-ProfileForm.js
-ReplyForm.js
Also, made some changes in the frontend-react-js/src/pages (tree) Refactoring error handling and fetch requests commit
-
Activity show page was created by making new files called
Replies.js and Replies.css
in thefrontend-react-js/src/components/
, whilst making changes to existing files in the directory. -
Fixed migrations to include uuid instead of integer to the reply_to_activity column in our database.
-
Fixed template for sync changes and static-build compile errors. Template changes commit
-
Added dynamodb table column. DynamoDB commit
-
Updated Service
template.yaml
Service commit -
Created a machine template and config file and fixed frontend for
MessageGroupPage.js
MachineUser commit -
Rollbar Fix for Updated Flask UpdatedFlask commit