0xa967

Posted on Mar 08, 2023Read on Mirror.xyz

EthIndia Fellowship Week 5 Report: Achieving Backend Milestones and Preparing for Next Steps

As a participant of the EthIndia Fellowship program, my journey has been a thrilling one so far, with Week 5 being particularly challenging yet rewarding. During this week, I accomplished several critical tasks that will help me in achieving my project goals.

One of the major accomplishments of this week was the successful development of the backend along with a custom Google Auth setup, which enables the storage of the refresh token. This process was quite challenging, mainly due to the absence of proper documentation. However, with persistence and effort, I was able to overcome these challenges, and all the logic eventually fell into place.

Once the user logs in to the app, all the tokens are stored in a centralized database, which is currently facilitated by Firestore. This was made possible by using Firebase Auth to keep the user login status persistent between sessions. Now, with access to the refresh tokens of the users, I have created an Express endpoint that can be used to fetch the number of steps taken by the user from midnight of that day until the present moment. The endpoint is as follows:

http://localhost:5050/[email protected]

Apart from these achievements, my next steps involve several crucial tasks, including writing a cron job to fetch the fitness data of all users in the backend, developing a system to identify whether the user has completed the defined milestones or not, and integrating the Revise SDK script with the cron job backend. This will allow for the upgrading of NFTs in the backend whenever the user crosses the milestone mark.

Furthermore, I will be working on developing a Flutter app that will show the number of steps run by the user, the milestones completed, and the number of steps required to complete the next milestones. Additionally, I plan to set up a meeting with the Revise team to look into how dNFT trading would look like from their perspective. My objective is to trade NFTs off-chain and prove their authenticity using ZKP.

In conclusion, my EthIndia Fellowship journey has been challenging, but it has also been a tremendous learning experience. I am excited about the progress I have made so far and look forward to the next stages of the project. With hard work, dedication, and a willingness to learn, I am confident that I will be able to accomplish my project goals within the stipulated time frame.