As a DEVELOPER, I want to implement the environmental impact score class that handles getting data from firestore, do calculations on that data, and create API endpoints that can be fetched from the frontend. The use case here is to calculate the environmental score of the user.
A/C:
[ ] Create the data layer that fetches data from firebase, name this file env_impact_repository.py
[ ] Create the Business logic layer that does the actual calculation - env_impact_entity.py
[ ] Create the interface layer that interacts with the front end: views.py and serializers.py (converts the data format into json so next.js can interact with it)
As a DEVELOPER, I want to implement the environmental impact score class that handles getting data from firestore, do calculations on that data, and create API endpoints that can be fetched from the frontend. The use case here is to calculate the environmental score of the user.
A/C: