javigallostra / RocoLib

Web App to create and share bouldering routes of a climbing gym.
GNU General Public License v3.0
7 stars 3 forks source link

Change app routes #186

Open juangallostra opened 2 years ago

juangallostra commented 2 years ago

Description

There are several endpoints that are not transparent at all with which/ how the data is being passed (see /create, /explore, /explore_boulders, /load_boulder, etc.). Modify the endpoints so that the most relevant info is part of the path ( for example: /create/<gym_id>/<wall_id>, /load_boulder/<gym_id>/<wall_id>/<boulder_id>). This will help in making the application stateless which, a part from other things, will make it easier to, for example, share problems.

juangallostra commented 2 years ago

mmm this is not as easy as I thought at first... think it twice