To run locally:
npm start, this command runs both versions of the site (on localhost:4200 and localhost:3000 concurrently).
Improvements:
Currently the entire package response is inserted into the shoebox, which bloats the index.html file. A potential solution would be to add a new server endpoint which only returns the current page's packages.
This endpoint would be called in fastboot mode to hydrate the immediate page, before requesting the entire package list once booted in the browser.
This pull request makes the site fastbootable, enabling the discussion about possible hosting options to take place (https://github.com/gcollazo/ember-cli-addon-search/issues/77).
To run locally:
npm start
, this command runs both versions of the site (onlocalhost:4200
andlocalhost:3000
concurrently).Improvements: Currently the entire package response is inserted into the shoebox, which bloats the index.html file. A potential solution would be to add a new server endpoint which only returns the current page's packages. This endpoint would be called in fastboot mode to hydrate the immediate page, before requesting the entire package list once booted in the browser.
@gcollazo @stefanpenner thoughts?