Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 3.9 KB

week11.md

File metadata and controls

95 lines (70 loc) · 3.9 KB

Week 11/X — CleanUp

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.

CleanUp

This process involved a lot of changes which includes;

  1. 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 JWT Commit

  1. 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

  1. Worked on replies, made a lot of changes to;
frontend-react-js/src/components/
-ActivityActionReply.js
-ActivityItem.css
-ActivityItem.js
-ReplyForm.js

Replies commit

  1. 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

  1. Activity show page was created by making new files called Replies.js and Replies.css in the frontend-react-js/src/components/, whilst making changes to existing files in the directory.

    Activity show page commit

  2. Fixed migrations to include uuid instead of integer to the reply_to_activity column in our database.

    Fixed migrations commit

  3. Fixed template for sync changes and static-build compile errors. Template changes commit

  4. Added dynamodb table column. DynamoDB commit

  5. Updated Service template.yaml Service commit

  6. Created a machine template and config file and fixed frontend for MessageGroupPage.js MachineUser commit

  7. Rollbar Fix for Updated Flask UpdatedFlask commit

Proof of Implementation

Image of Activities-Backend Image of Home Prod Image of Local Home Image of MessageProd Image of ProfileProd