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

[feat] Query Project Information from the Database to the Project Modal #8

Open
itsliterallymonique opened this issue Oct 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@itsliterallymonique
Copy link
Collaborator

itsliterallymonique commented Oct 7, 2024

This week, you will be adding the data in our database to the project modal! What you will need to do is:

  1. Create a function that will query the database for a specific project_id
    a. Create a query file (.tsx) inside api >> supabase >> queries
    b. Query all the information
  2. Change your project modal to only collect a project_id prop (also change this in the home page!)
  3. Add the queried information for a specific project to the modal you made last week. For now, set the project_id temporarily to 1. You will need to display the following properties:
    a. Project Name
    b. Developer
    c. Renewable Energy Category
    d. Size (watts)
    e. Project Status
    f. Additional Information

Some tips:

PR Reviewers: Deena (@deenasun) and Monique (@itsliterallymonique)

@itsliterallymonique itsliterallymonique added the enhancement New feature or request label Oct 7, 2024
@itsliterallymonique itsliterallymonique added this to the Project Modal milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants