Closed brenwell closed 6 years ago
Hey @brenwell, just got some time to look at this. Something unique about Smithsonian is that the user-interface is decoupled from the data API. Using server.router()
only adds the data API, not any user interface. Try:
express()
.use('/api', server.router())
.use('/smithsonian', require('smithsonian/standard')('/api'))
.listen(3000);
This will both the data API and the default user interface.
This is documented, poorly.
I see, I will give it a go, thanks
worked, thanks
Great!
Hey there, really nice tool you have made here, so thanks!
I am having some trouble getting it to work with express, maybe you can send me in the right direction.
Here is my setup file
And if I access this url http://localhost:3000/smithsonian I get
Cannot GET /smithsonian
Its probably something super simple, so sorry in advance