This sprint I continued working on redux and routing. I also make a lot of progress on authentication and state management. The store and routes are now running and the site's pages are finally connected.
A very time consuming challenge I ran into was troubleshooting react-router and redux not communicating with each other. It turned out to be an issue with the recent version of the 'history' package which needed to be downgraded.
For this sprint I will be doing the following: persistent session (using local storage), conditional routing (logged in user vs. guest), making the dashboard a little fancy, 404 fallback page, individual trip routing, collaborators component, and the logout functionality.
In this sprint I worked on connecting our backend to MongoDB, connecting our frontend to Firebase Storage for storing image data, creating POST and GET routes for the trip schemas, and creating a dashboard page that includes backend pagination and filtering.
The challenges I had included implementing the pagination, as well as the styling of components.
In the next sprint I will work on the logic to add collaborators to a trip, editing and deleting a trip (by the owner or by the collaborators), adding input validation to forms, and fixing the styling of components.
In this sprint, I worked on edit profile page, profile previews, and user avatar components and connecting them to backend.
Most challenging thing was working with promises to get data ready before certain components rendered
Next sprint, will be working on connecting user info / edit profile / user avatar to MongoDB and Firebase DB, and connecting with redux. Also putting working routes in navbar
I personally worked mainly on the development of the trip-view page for this sprint. This included both front-end changes to make the page visually appealing, but also connecting it to the backend and DB. I also worked on a significant portion of the backend in terms of writing the CRUD endpoints for trip items and users, in addition to creating the Mongoose schemas.
A major challenge for me this sprint was working on the client side as the component organization was a bit of a mess. There were some duplicate components and scattered functionality that made it very hard to find and expand on existing functionality.
For the upcoming sprint, my focus will be on really pulling the application together by making all components adhere to a global style and further working on expanding the trip-view functionality in the backend and DB as that is the most important part of the app for the user experience.
CS ID: o7z9a