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

🚁🛰 ↣ Supabase profiles & storage buckets now being updated through Ne… #43

Merged

Conversation

Gizmotronn
Copy link
Member

…xt.js

Users can now update their profile information (which means that Moralis can, too). This includes updating content they own (in relational databases hosted on Supabase). E.g. a player can state on the frontend that they own Mars, this is added into their entry on the profiles table AS WELL AS having their user id being referenced in the Planets table entry for that Planet (with title being the foreign key).
This is handled with user input, but what we can do now is create a method to query Moralis or Thirdweb for the user's NFTs, see if they hold any Planets, and then pass those in that request (outside of the frontend). Obviously we'll need to set that request to be in either json or array format (as well as the "Planet" entry for that user, currently since they can only hold one planet at a time, it's just a text field). So now I'm going to try and use what is in #41 as the base repository (again migrating it to Next.js) and then add the components/pages in STA-19 & STA-2

#42 but with next.js

@Gizmotronn Gizmotronn added enhancement New feature or request flask backend attempts with flask backend File upload and admin section for users frontend react multi-repo relating to other org repos or github/acord-robotics repos labels Nov 11, 2022
@Gizmotronn Gizmotronn self-assigned this Nov 11, 2022
Copy link
Member Author

@Gizmotronn Gizmotronn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

builds correctly, let's go!

@Gizmotronn Gizmotronn merged commit bb9acf7 into sta-21-use-moralis-output-per-user-basis-as Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend File upload and admin section for users enhancement New feature or request flask backend attempts with flask frontend multi-repo relating to other org repos or github/acord-robotics repos react
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant