Getting Started
Getting started with Bazaar is quick and easy. To being, you create a Bazaar account, then create a Bazaar App and register your app. Next, you install the JavaScript SDK, configure an instance of the SDK, then create and log in a user before interacting with data.
Create an Account
To begin, create a free Bazaar account.
Register an App
On your Bazaar dashboard go to the Developers section by opening the menu and clicking Developers.
Next, click Create App.
- Give your app a name.
- Add your app’s URL.
- Optionally, add one or more redirect URIs (defaults to your app URL).
Click Create to get an app ID.
Install the library
Install the Bazaar library from NPM:
Or, load it from a CDN:
Initialize a Client
Create or Log in a User
Check if user is logged in:
Handle a successful log in:
Create a Collection
Insert a Doc
Fetch all Docs
Learn about the full capabilities of collections.