Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the Environmental Impact Score class #34

Open
3 tasks
Chong-source opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks

Implement the Environmental Impact Score class #34

Chong-source opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@Chong-source
Copy link
Collaborator

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants