routesClient.js 429 Bytes
Newer Older
Spark's avatar
Spark committed
1
2
3
4
5
6
export const routesClient = {
  home: '/api',
  signup: '/api/signup',
  login: '/api/login',
  edit: '/api/edit-profile',
  localdata: '/api/data/loccode',
Spark's avatar
Spark committed
7
  outsideLoc: '/api/data/outside?loccode=',
Spark's avatar
Spark committed
8
9
  usingAircon : '/api/toggle-aircon',
  logout: '/api/logout',
Spark's avatar
Spark committed
10
  userinfo : '/api/user-info',
Spark's avatar
Spark committed
11
12
  userWeather : 'api/data/user'
  
Spark's avatar
Spark committed
13

Spark's avatar
Spark committed
14
15
16
17
18
19
20
21
22
}


// post, put { body }
// email :
// nick_name :
// using_aircon :
// created_at :
// loc_code