StarChart-Labs / corona-ide

A exploratory project to build a lighter, simpler Java IDE - or learn trying!
Eclipse Public License 1.0
3 stars 1 forks source link

Refactor projects to have unique REST-appropriate identifiers #74

Open nickavv opened 6 years ago

nickavv commented 6 years ago

Since the frontend is now going to interact with the backend in a RESTful way, it would be handy for everything to be addressed by simple unique identifiers (UUIDs probably).

Currently Projects is the only front-facing model I think. This change will probably involve changing how they are keyed in the datastore, and then changing specifically the Delete Project API's path to /projects/{id} instead of just /projects, removing the DeleteProjectRequest class (moving the "also delete from disk" boolean into a query parameter), and then changing the frontend to send the DELETE request that way instead of the current way.