Loading views...
Hidra Collection API Start

Hidra Collection API Start

Date
Date
2020 Apr 30 0:0 → 2020 May 1 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:53
Refs
Refs
collection api 시작
collection_view 를 생성하면 collection 생성하는 방식으로 가야한다
another service 에 대한 접근이 필요함
app.use("/blocks", new Blocks(options, app))
형태로 하는 걸 보아 객체로 있을 거 같은디.. 찾아보자
Services | FeathersJS
"Services" are the heart of every Feathers application. Services are JavaScript objects (or instances of ) that implement certain methods. Feathers itself will also add some additional methods and functionality to its services. Service methods are pre-defined methods that your service object can implement (or that have already been implemented by one of the database adapters).
  • service 참조법...
How to use services in another service · Issue #1628 · feathersjs/feathers
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or window. Reload to refresh your session. Reload to refresh your session.
How to use services in another service · Issue #1628 · feathersjs/feathers
 
왜계속 안되나 했더니 공식문서 보니 app.listen()해줘야함
우리가 앱을 미들웨어로 써서 생신 문제
app.listen() 추가해주니 잘나온다 ㄷㄷ
setup(app) { this.app = app }
app.listen()
 
 
 
 
 
 
 
 
 

Recommendations