all repos — caroster @ 9f359590899f531edd1ad7be81c01344d86fb9a6

[Octree] Group carpool to your event https://caroster.io

backend/api/travel/config/routes.json (view raw)

 1{
 2  "routes": [
 3    {
 4      "method": "GET",
 5      "path": "/travels",
 6      "handler": "travel.find",
 7      "config": {
 8        "policies": []
 9      }
10    },
11    {
12      "method": "GET",
13      "path": "/travels/count",
14      "handler": "travel.count",
15      "config": {
16        "policies": []
17      }
18    },
19    {
20      "method": "GET",
21      "path": "/travels/:id",
22      "handler": "travel.findOne",
23      "config": {
24        "policies": []
25      }
26    },
27    {
28      "method": "POST",
29      "path": "/travels",
30      "handler": "travel.create",
31      "config": {
32        "policies": []
33      }
34    },
35    {
36      "method": "PUT",
37      "path": "/travels/:id",
38      "handler": "travel.update",
39      "config": {
40        "policies": []
41      }
42    },
43    {
44      "method": "DELETE",
45      "path": "/travels/:id",
46      "handler": "travel.delete",
47      "config": {
48        "policies": []
49      }
50    }
51  ]
52}