calblueprint / ace-ny

4 stars 0 forks source link

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

Closed itsliterallymonique closed 5 days ago

itsliterallymonique commented 1 week ago

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)