DEV Community

Cover image for GSoC 2022 CircuitVerse | Week 9 and 10 Report
vedant-jain03
vedant-jain03

Posted on

GSoC 2022 CircuitVerse | Week 9 and 10 Report

Description

These two weeks were awesome in the context of learning and coding. I learned a lot about migrations, rails console, rails specs, rails ActiveRecord, and rails API.

These 2 weeks were majorly focused on data migration, completing the PR and notification API.

So the migration I coded for the data was ok but need modifications. Aboobacker guided me to write quality and scalable migration. Also, as this was the data migration, Aboobacker suggested to use rails-data-migrations gem that make a separate data_migrations directory in db/, that help us to track the data migrations files.

  • To Generate data migration file:
rails generate data_migration migration_name
Enter fullscreen mode Exit fullscreen mode
  • To run the data migration:
rake data:migrate
Enter fullscreen mode Exit fullscreen mode

We have made some cleanups as well.
I also learned a lot about the spec and these weeks I worked on that part as well.

In this week(week 10), I worked on notification API for mobile-app along with the specs.

Image description

PR:

The progress we have made in these 2 weeks:

  • Implement noticed gem.
  • PR for notification API for Mobile-App.
  • Activity Notification data Migration.
  • Removed activity Notification gem.

What Next?

  • Reimplement Web push for notification.
  • Design for weekly contest.

Conclusion

By far these two weeks were full of debugging and learning. I took much time as expected for this PR but will work more hard and try to deliver the features as expected.

Top comments (0)