(work in progress)
What will be the official experience for finding/installing extensions for the Brave web browser.
This project contains both the client and server portion of the extension store.
The server side uses hapi.js to host a REST API with a few important routes:
/brave-extension-store
- fetch (in JSON) all extensions available from Brave Extension Store/brave-extension-store/{extensionId}
- fetch all data (in JSON) about a single extension from Brave Extension Store/store
- the page exposed to clients (entry point for the web experience)
The "client" is a static HTML page being served using hapi.js (see server side
notes above). Before running, webpack compiles the resources needed for a proper React environment. The client (when served) then makes server side calls to fetch the data needed.
After cloning, running should be as easy as:
npm install
npm run server
At this point, you can connect using a browser to http://localhost:8000/store