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

Entity API #14

Closed
lalalune opened this issue Apr 8, 2020 · 2 comments
Closed

Entity API #14

lalalune opened this issue Apr 8, 2020 · 2 comments
Assignees
Milestone

Comments

@lalalune
Copy link

lalalune commented Apr 8, 2020

What does this feature do?
We want to be able to consume objects and store them, and then make them available when requested.

Actual objects and resources will be uploaded to S3 via our storage API. @barankyle has done this.

First step: Add CRUD for objects. Owner is 'server' (default) unless it is attached to a userID
We already have an Objects API. Update the objects.model.ts to have a list of resources
Feathers automatically makes CRUD -- read documentation to override if necessary

class Object(){
id: number (unique)
owner: relation to user (empty for server)
created: dateTime
modified: dateTime
resource: {type, url}
}

Second step: Integrate with Storage API
AddResourceToObject ({objectId, type, url}) -- Upload new resource and attach it to the object

Third Step: Component on front end that lets user upload a GLTF or GLB (POST)

Fourth step Add image upload, OBJ and FBX upload (POST)

Fifth Step Form shows object, user can edit or replace resource (UPDATE) to delete (DELETE)

Sixth step: Integration with XRPackage. Upload and download XRPackages

Please check out:
https://github.com/webaverse/xrpackage

@lalalune lalalune created this issue from a note in XRChat Sprint 1 Feature List (To Do: Backend Server) Apr 8, 2020
@lalalune
Copy link
Author

lalalune commented Apr 8, 2020

Before we dive into this, let's make sure we're on the same page with Webaverse, etc.

We want to package media and references to media where possible.

@dmitrizagidulin dmitrizagidulin added this to the 02 - KaiXR milestone Apr 8, 2020
@lalalune lalalune changed the title XRObject API Object API Apr 11, 2020
@lalalune lalalune assigned fsrepo and unassigned mrhegemon, barankyle and mohrtw Apr 13, 2020
@dmitrizagidulin dmitrizagidulin removed this from To Do: Backend Server in XRChat Sprint 1 Feature List Apr 15, 2020
@lalalune lalalune added this to Todo: Backend in Alpha MVP - May 14 Apr 16, 2020
@lalalune lalalune self-assigned this Apr 19, 2020
@lalalune lalalune moved this from Todo: Backend/Ops to In Progress in Alpha MVP - May 14 Apr 19, 2020
Alpha MVP - May 14 automation moved this from In Progress to Completed Apr 20, 2020
@lalalune lalalune reopened this Apr 20, 2020
Alpha MVP - May 14 automation moved this from Completed to In Progress Apr 20, 2020
@lalalune lalalune changed the title Object API Entity API Apr 20, 2020
@lalalune lalalune moved this from In Progress to Awaiting Review in Alpha MVP - May 14 Apr 20, 2020
@lalalune
Copy link
Author

@dmitrizagidulin closing this since entities have been added.

Alpha MVP - May 14 automation moved this from Awaiting Review to Completed Apr 24, 2020
lalalune pushed a commit that referenced this issue Jun 25, 2020
lalalune added a commit that referenced this issue Nov 23, 2020
patreeceeo pushed a commit to MappaLabs/MappaXRE that referenced this issue Dec 9, 2022
@HexaField HexaField removed this from Completed in Alpha MVP - May 14 Mar 3, 2023
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

6 participants